Struct jwt_compact::alg::WeakKeyError
source · pub struct WeakKeyError<T>(pub T);
Expand description
Error type used for fallible conversion into a StrongKey
.
The error wraps around a weak key, which can be extracted for further use.
Tuple Fields§
§0: T
Trait Implementations§
source§impl<T: Debug> Debug for WeakKeyError<T>
impl<T: Debug> Debug for WeakKeyError<T>
source§impl<T> Display for WeakKeyError<T>
impl<T> Display for WeakKeyError<T>
source§impl<T: Debug + 'static> Error for WeakKeyError<T>
impl<T: Debug + 'static> Error for WeakKeyError<T>
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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()
Auto Trait Implementations§
impl<T> RefUnwindSafe for WeakKeyError<T>where
T: RefUnwindSafe,
impl<T> Send for WeakKeyError<T>where
T: Send,
impl<T> Sync for WeakKeyError<T>where
T: Sync,
impl<T> Unpin for WeakKeyError<T>where
T: Unpin,
impl<T> UnwindSafe for WeakKeyError<T>where
T: UnwindSafe,
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