pub struct SqrlError { /* private fields */ }
Expand description
An error that can occur during SQRL protocol
Implementations§
Trait Implementations§
Source§impl Error for SqrlError
impl Error for SqrlError
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<DecodeError> for SqrlError
impl From<DecodeError> for SqrlError
Source§fn from(error: DecodeError) -> Self
fn from(error: DecodeError) -> Self
Converts to this type from the input type.
Source§impl From<FromUtf8Error> for SqrlError
impl From<FromUtf8Error> for SqrlError
Source§fn from(error: FromUtf8Error) -> Self
fn from(error: FromUtf8Error) -> Self
Converts to this type from the input type.
Source§impl From<ParseError> for SqrlError
impl From<ParseError> for SqrlError
Source§fn from(error: ParseError) -> Self
fn from(error: ParseError) -> Self
Converts to this type from the input type.
Source§impl From<ParseIntError> for SqrlError
impl From<ParseIntError> for SqrlError
Source§fn from(value: ParseIntError) -> Self
fn from(value: ParseIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SqrlError
impl RefUnwindSafe for SqrlError
impl Send for SqrlError
impl Sync for SqrlError
impl Unpin for SqrlError
impl UnwindSafe for SqrlError
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