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
Source§impl PartialEq for DecryptionError
impl PartialEq for DecryptionError
impl Eq for DecryptionError
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 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
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.