pub enum DecodeSessionKeyError {
Base64(DecodeSliceError),
Zero,
}Expand description
The error type returned when decoding a session key fails.
Variants§
Base64(DecodeSliceError)
Zero
Trait Implementations§
Source§impl Debug for DecodeSessionKeyError
impl Debug for DecodeSessionKeyError
Source§impl Display for DecodeSessionKeyError
impl Display for DecodeSessionKeyError
Source§impl Error for DecodeSessionKeyError
impl Error for DecodeSessionKeyError
Source§fn source(&self) -> Option<&(dyn StdError + 'static)>
fn source(&self) -> Option<&(dyn StdError + '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<DecodeSliceError> for DecodeSessionKeyError
impl From<DecodeSliceError> for DecodeSessionKeyError
Source§fn from(value: DecodeSliceError) -> Self
fn from(value: DecodeSliceError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DecodeSessionKeyError
impl RefUnwindSafe for DecodeSessionKeyError
impl Send for DecodeSessionKeyError
impl Sync for DecodeSessionKeyError
impl Unpin for DecodeSessionKeyError
impl UnwindSafe for DecodeSessionKeyError
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