Struct crypto_mac::InvalidKeyLength
source · 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)>
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<InvalidKeyLength> for InvalidKeyLength
impl PartialEq<InvalidKeyLength> for InvalidKeyLength
source§fn eq(&self, other: &InvalidKeyLength) -> bool
fn eq(&self, other: &InvalidKeyLength) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.