pub enum DecryptionError {
UnexpectedUnencryptedPacket(DataPacket),
UnexpectedEncryptedPacket(DataPacket),
EncryptionFailure,
DecryptionFailure,
}
Variants
UnexpectedUnencryptedPacket(DataPacket)
Tuple Fields
0: DataPacket
UnexpectedEncryptedPacket(DataPacket)
Tuple Fields
0: DataPacket
EncryptionFailure
DecryptionFailure
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.