pub enum ExpandMsgXofError {
EmptyDst,
DstSecurityLevel,
}Expand description
Error type for ExpandMsgXof.
Variants§
EmptyDst
The domain separation tag is invalid because it is empty.
DstSecurityLevel
The target security level (K) must not be greater then 127
if the domain separation tag is longer than 255.
Trait Implementations§
Source§impl Clone for ExpandMsgXofError
impl Clone for ExpandMsgXofError
Source§fn clone(&self) -> ExpandMsgXofError
fn clone(&self) -> ExpandMsgXofError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ExpandMsgXofError
Source§impl Debug for ExpandMsgXofError
impl Debug for ExpandMsgXofError
Source§impl Display for ExpandMsgXofError
impl Display for ExpandMsgXofError
impl Eq for ExpandMsgXofError
Source§impl Error for ExpandMsgXofError
impl Error for ExpandMsgXofError
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 ExpandMsgXofError
impl PartialEq for ExpandMsgXofError
Source§fn eq(&self, other: &ExpandMsgXofError) -> bool
fn eq(&self, other: &ExpandMsgXofError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExpandMsgXofError
Auto Trait Implementations§
impl Freeze for ExpandMsgXofError
impl RefUnwindSafe for ExpandMsgXofError
impl Send for ExpandMsgXofError
impl Sync for ExpandMsgXofError
impl Unpin for ExpandMsgXofError
impl UnsafeUnpin for ExpandMsgXofError
impl UnwindSafe for ExpandMsgXofError
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