Struct matrix_sdk_crypto::secret_storage::MacError
pub struct MacError;
Expand description
Error type for when the [Output
] of a [Mac
]
is not equal to the expected value.
Trait Implementations§
§impl Error for MacError
Available on crate feature std
only.
impl Error for MacError
Available on crate feature
std
only.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 From<MacError> for DecodeError
impl From<MacError> for DecodeError
impl Copy for MacError
impl Eq for MacError
impl StructuralEq for MacError
impl StructuralPartialEq for MacError
Auto Trait Implementations§
impl RefUnwindSafe for MacError
impl Send for MacError
impl Sync for MacError
impl Unpin for MacError
impl UnwindSafe for MacError
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.