pub struct InvalidKeyLength;
Expand description
Error type for signaling invalid key length for MAC initialization
Trait Implementations§
Source§impl Clone for InvalidKeyLength
impl Clone for InvalidKeyLength
Source§fn clone(&self) -> InvalidKeyLength
fn clone(&self) -> InvalidKeyLength
Returns a copy 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 InvalidKeyLength
impl Debug for InvalidKeyLength
Source§impl Default for InvalidKeyLength
impl Default for InvalidKeyLength
Source§fn default() -> InvalidKeyLength
fn default() -> InvalidKeyLength
Returns the “default value” for a type. Read more
Source§impl Display for InvalidKeyLength
impl Display for InvalidKeyLength
Source§impl Error for InvalidKeyLength
impl Error for InvalidKeyLength
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 InvalidKeyLength
impl PartialEq for InvalidKeyLength
impl Copy for InvalidKeyLength
impl Eq for InvalidKeyLength
impl StructuralPartialEq for InvalidKeyLength
Auto Trait Implementations§
impl Freeze for InvalidKeyLength
impl RefUnwindSafe for InvalidKeyLength
impl Send for InvalidKeyLength
impl Sync for InvalidKeyLength
impl Unpin for InvalidKeyLength
impl UnwindSafe for InvalidKeyLength
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