pub enum EnigmaProtocolError {
InvalidState,
UnknownSession,
PacketDecode,
PacketValidation,
Crypto,
Transport,
Attachment,
SizeLimitExceeded,
}Variants§
InvalidState
UnknownSession
PacketDecode
PacketValidation
Crypto
Transport
Attachment
SizeLimitExceeded
Trait Implementations§
Source§impl Debug for EnigmaProtocolError
impl Debug for EnigmaProtocolError
Source§impl Display for EnigmaProtocolError
impl Display for EnigmaProtocolError
Source§impl Error for EnigmaProtocolError
impl Error for EnigmaProtocolError
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<EnigmaAeadError> for EnigmaProtocolError
impl From<EnigmaAeadError> for EnigmaProtocolError
Source§fn from(err: EnigmaAeadError) -> Self
fn from(err: EnigmaAeadError) -> Self
Converts to this type from the input type.
Source§impl From<EnigmaPacketError> for EnigmaProtocolError
impl From<EnigmaPacketError> for EnigmaProtocolError
Source§fn from(err: EnigmaPacketError) -> Self
fn from(err: EnigmaPacketError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EnigmaProtocolError
impl RefUnwindSafe for EnigmaProtocolError
impl Send for EnigmaProtocolError
impl Sync for EnigmaProtocolError
impl Unpin for EnigmaProtocolError
impl UnwindSafe for EnigmaProtocolError
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