Enum srt_protocol::protocol::encryption::stream::KeyMaterialError
source · pub enum KeyMaterialError {
NoKeys,
InvalidSaltLength,
InvalidKeyFlags(KeyFlags, KeySize, usize),
InvalidInitializationVector(WrapInitializationVector),
InvalidRefreshResponse(KeyingMaterialMessage),
}Variants§
NoKeys
InvalidSaltLength
InvalidKeyFlags(KeyFlags, KeySize, usize)
InvalidInitializationVector(WrapInitializationVector)
InvalidRefreshResponse(KeyingMaterialMessage)
Trait Implementations§
source§impl Debug for KeyMaterialError
impl Debug for KeyMaterialError
source§impl PartialEq<KeyMaterialError> for KeyMaterialError
impl PartialEq<KeyMaterialError> for KeyMaterialError
source§fn eq(&self, other: &KeyMaterialError) -> bool
fn eq(&self, other: &KeyMaterialError) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for KeyMaterialError
impl StructuralEq for KeyMaterialError
impl StructuralPartialEq for KeyMaterialError
Auto Trait Implementations§
impl RefUnwindSafe for KeyMaterialError
impl Send for KeyMaterialError
impl Sync for KeyMaterialError
impl Unpin for KeyMaterialError
impl UnwindSafe for KeyMaterialError
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 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.