pub enum EnigmaAeadError {
InvalidPacket(&'static str),
UnsupportedVersion(u8),
UnsupportedAlgorithm(u8),
AeadError,
SizeLimitExceeded,
CryptoError,
}Variants§
InvalidPacket(&'static str)
UnsupportedVersion(u8)
UnsupportedAlgorithm(u8)
AeadError
SizeLimitExceeded
CryptoError
Trait Implementations§
Source§impl Debug for EnigmaAeadError
impl Debug for EnigmaAeadError
Source§impl Display for EnigmaAeadError
impl Display for EnigmaAeadError
Source§impl Error for EnigmaAeadError
impl Error for EnigmaAeadError
1.30.0§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§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl From<Error> for EnigmaAeadError
impl From<Error> for EnigmaAeadError
Source§impl PartialEq for EnigmaAeadError
impl PartialEq for EnigmaAeadError
impl Eq for EnigmaAeadError
impl StructuralPartialEq for EnigmaAeadError
Auto Trait Implementations§
impl Freeze for EnigmaAeadError
impl RefUnwindSafe for EnigmaAeadError
impl Send for EnigmaAeadError
impl Sync for EnigmaAeadError
impl Unpin for EnigmaAeadError
impl UnwindSafe for EnigmaAeadError
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more