pub struct KeyTooLongError;
Expand description
Error returned by KSecretKey::from_str
when the secret key cannot fit in the expected size.
Trait Implementations§
Source§impl Clone for KeyTooLongError
impl Clone for KeyTooLongError
Source§fn clone(&self) -> KeyTooLongError
fn clone(&self) -> KeyTooLongError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for KeyTooLongError
impl Debug for KeyTooLongError
Source§impl Display for KeyTooLongError
impl Display for KeyTooLongError
Source§impl Error for KeyTooLongError
impl Error for KeyTooLongError
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 KeyTooLongError
impl PartialEq for KeyTooLongError
impl Copy for KeyTooLongError
impl Eq for KeyTooLongError
impl StructuralPartialEq for KeyTooLongError
Auto Trait Implementations§
impl Freeze for KeyTooLongError
impl RefUnwindSafe for KeyTooLongError
impl Send for KeyTooLongError
impl Sync for KeyTooLongError
impl Unpin for KeyTooLongError
impl UnwindSafe for KeyTooLongError
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