Enum srt_protocol::protocol::encryption::DecryptionError
source · 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<DecryptionError> for DecryptionError
impl PartialEq<DecryptionError> for DecryptionError
source§fn eq(&self, other: &DecryptionError) -> bool
fn eq(&self, other: &DecryptionError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DecryptionError
impl StructuralEq for DecryptionError
impl StructuralPartialEq for DecryptionError
Auto Trait Implementations§
impl RefUnwindSafe for DecryptionError
impl Send for DecryptionError
impl Sync for DecryptionError
impl Unpin for DecryptionError
impl UnwindSafe for DecryptionError
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.