pub enum EncryptionMethod {
None,
Aes128HmacSha1_32,
Aes128HmacSha1_80,
F8_128HmacSha1_32,
F8_128HmacSha1_80,
AeadAes128Gcm,
AeadAes256Gcm,
Unknown(u32),
}Expand description
SRTP encryption algorithm selected for a media channel.
Variants§
None
Aes128HmacSha1_32
Aes128HmacSha1_80
F8_128HmacSha1_32
F8_128HmacSha1_80
AeadAes128Gcm
AeadAes256Gcm
Unknown(u32)
Implementations§
Trait Implementations§
Source§impl Clone for EncryptionMethod
impl Clone for EncryptionMethod
Source§fn clone(&self) -> EncryptionMethod
fn clone(&self) -> EncryptionMethod
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EncryptionMethod
Source§impl Debug for EncryptionMethod
impl Debug for EncryptionMethod
impl Eq for EncryptionMethod
Source§impl From<EncryptionMethod> for u32
impl From<EncryptionMethod> for u32
Source§fn from(value: EncryptionMethod) -> Self
fn from(value: EncryptionMethod) -> Self
Converts to this type from the input type.
Source§impl From<u32> for EncryptionMethod
impl From<u32> for EncryptionMethod
Source§impl Hash for EncryptionMethod
impl Hash for EncryptionMethod
Source§impl PartialEq for EncryptionMethod
impl PartialEq for EncryptionMethod
impl StructuralPartialEq for EncryptionMethod
Auto Trait Implementations§
impl Freeze for EncryptionMethod
impl RefUnwindSafe for EncryptionMethod
impl Send for EncryptionMethod
impl Sync for EncryptionMethod
impl Unpin for EncryptionMethod
impl UnsafeUnpin for EncryptionMethod
impl UnwindSafe for EncryptionMethod
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