pub enum AprsIsError {
Connect(Error),
Read(Error),
Write(Error),
LoginTimeout,
LoginRejected(String),
}Expand description
Errors that can occur during APRS-IS operations.
Variants§
Connect(Error)
The TCP connection could not be established.
Read(Error)
A read from the TCP socket failed.
Write(Error)
A write to the TCP socket failed.
LoginTimeout
The initial login handshake timed out.
LoginRejected(String)
The server rejected the login credentials.
Trait Implementations§
Source§impl Debug for AprsIsError
impl Debug for AprsIsError
Source§impl Display for AprsIsError
impl Display for AprsIsError
Source§impl Error for AprsIsError
impl Error for AprsIsError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for AprsIsError
impl !RefUnwindSafe for AprsIsError
impl Send for AprsIsError
impl Sync for AprsIsError
impl Unpin for AprsIsError
impl !UnwindSafe for AprsIsError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more