Enum aether_lib::error::AetherError
source · [−]pub enum AetherError {
Show 18 variants
ElapsedTime(SystemTimeError),
MutexLock(&'static str),
LinkStopped(&'static str),
RecvTimeout(RecvTimeoutError),
LinkTimeout,
SetReadTimeout,
NotConnected(String),
YamlParse(Error),
FileRead(Error),
FileWrite(Error),
AuthenticationInvalid(String),
AuthenticationFailed(String),
OpenSSLError(ErrorStack),
FromUtf8Error(FromUtf8Error),
Base64DecodeError(DecodeError),
HandshakeError,
ChannelSendError(SendError<Packet>),
ChannelRecvError(RecvError),
}
Variants
ElapsedTime(SystemTimeError)
MutexLock(&'static str)
LinkStopped(&'static str)
RecvTimeout(RecvTimeoutError)
LinkTimeout
SetReadTimeout
NotConnected(String)
YamlParse(Error)
FileRead(Error)
FileWrite(Error)
AuthenticationInvalid(String)
AuthenticationFailed(String)
OpenSSLError(ErrorStack)
FromUtf8Error(FromUtf8Error)
Base64DecodeError(DecodeError)
HandshakeError
ChannelSendError(SendError<Packet>)
ChannelRecvError(RecvError)
Trait Implementations
sourceimpl Debug for AetherError
impl Debug for AetherError
sourceimpl Display for AetherError
impl Display for AetherError
sourceimpl Error for AetherError
impl Error for AetherError
sourcefn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
sourcefn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
🔬 This is a nightly-only experimental API. (
backtrace
)Returns a stack backtrace, if available, of where this error occurred. Read more
1.0.0 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎 Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<DecodeError> for AetherError
impl From<DecodeError> for AetherError
sourceimpl From<ErrorStack> for AetherError
impl From<ErrorStack> for AetherError
sourcefn from(source: ErrorStack) -> Self
fn from(source: ErrorStack) -> Self
Performs the conversion.
sourceimpl From<FromUtf8Error> for AetherError
impl From<FromUtf8Error> for AetherError
sourcefn from(source: FromUtf8Error) -> Self
fn from(source: FromUtf8Error) -> Self
Performs the conversion.
sourceimpl From<RecvError> for AetherError
impl From<RecvError> for AetherError
sourceimpl From<RecvTimeoutError> for AetherError
impl From<RecvTimeoutError> for AetherError
sourceimpl From<SendError<Packet>> for AetherError
impl From<SendError<Packet>> for AetherError
sourceimpl From<SystemTimeError> for AetherError
impl From<SystemTimeError> for AetherError
sourcefn from(source: SystemTimeError) -> Self
fn from(source: SystemTimeError) -> Self
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for AetherError
impl Send for AetherError
impl Sync for AetherError
impl Unpin for AetherError
impl !UnwindSafe for AetherError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more