pub enum StringSessionError {
Base64(DecodeError),
InvalidData,
UnsupportedVersion(u8),
UnknownIpType(u8),
}Variants§
Trait Implementations§
Source§impl Debug for StringSessionError
impl Debug for StringSessionError
Source§impl Display for StringSessionError
impl Display for StringSessionError
Source§impl Error for StringSessionError
impl Error for StringSessionError
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<DecodeError> for StringSessionError
impl From<DecodeError> for StringSessionError
Source§fn from(source: DecodeError) -> Self
fn from(source: DecodeError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for StringSessionError
impl RefUnwindSafe for StringSessionError
impl Send for StringSessionError
impl Sync for StringSessionError
impl Unpin for StringSessionError
impl UnsafeUnpin for StringSessionError
impl UnwindSafe for StringSessionError
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