pub struct InvalidSecret;Expand description
A secret that is not 64 hex digits.
Trait Implementations§
Source§impl Clone for InvalidSecret
impl Clone for InvalidSecret
Source§impl Debug for InvalidSecret
impl Debug for InvalidSecret
Source§impl Display for InvalidSecret
impl Display for InvalidSecret
impl Eq for InvalidSecret
Source§impl Error for InvalidSecret
impl Error for InvalidSecret
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 PartialEq for InvalidSecret
impl PartialEq for InvalidSecret
impl StructuralPartialEq for InvalidSecret
Auto Trait Implementations§
impl Forget for InvalidSecret
impl Freeze for InvalidSecret
impl Move for InvalidSecret
impl RefUnwindSafe for InvalidSecret
impl Send for InvalidSecret
impl Sync for InvalidSecret
impl Unpin for InvalidSecret
impl UnsafeUnpin for InvalidSecret
impl UnwindSafe for InvalidSecret
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