pub enum WebtermError {
ReaderSocketError(ReaderSocketError),
RuntimeError(String),
EncryptionError(String),
DecryptionError(String),
TryFromSliceError(TryFromSliceError),
}
Variants§
ReaderSocketError(ReaderSocketError)
RuntimeError(String)
EncryptionError(String)
DecryptionError(String)
TryFromSliceError(TryFromSliceError)
Trait Implementations§
Source§impl Debug for WebtermError
impl Debug for WebtermError
Source§impl Display for WebtermError
impl Display for WebtermError
Source§impl Error for WebtermError
impl Error for WebtermError
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()
Source§impl From<ReaderSocketError> for WebtermError
impl From<ReaderSocketError> for WebtermError
Source§fn from(err: ReaderSocketError) -> Self
fn from(err: ReaderSocketError) -> Self
Converts to this type from the input type.
Source§impl From<TryFromSliceError> for WebtermError
impl From<TryFromSliceError> for WebtermError
Source§fn from(err: TryFromSliceError) -> Self
fn from(err: TryFromSliceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for WebtermError
impl RefUnwindSafe for WebtermError
impl Send for WebtermError
impl Sync for WebtermError
impl Unpin for WebtermError
impl UnwindSafe for WebtermError
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