pub enum DecryptionError {
UnexpectedUnencryptedPacket(DataPacket),
UnexpectedEncryptedPacket(DataPacket),
EncryptionFailure,
DecryptionFailure,
}Variants§
UnexpectedUnencryptedPacket(DataPacket)
UnexpectedEncryptedPacket(DataPacket)
EncryptionFailure
DecryptionFailure
Trait Implementations§
Source§impl Debug for DecryptionError
impl Debug for DecryptionError
impl Eq for DecryptionError
Source§impl PartialEq for DecryptionError
impl PartialEq for DecryptionError
Source§fn eq(&self, other: &DecryptionError) -> bool
fn eq(&self, other: &DecryptionError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DecryptionError
Auto Trait Implementations§
impl !Freeze for DecryptionError
impl RefUnwindSafe for DecryptionError
impl Send for DecryptionError
impl Sync for DecryptionError
impl Unpin for DecryptionError
impl UnsafeUnpin for DecryptionError
impl UnwindSafe for DecryptionError
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.