#[repr(u8)]pub enum ProtectionProfile {
Aes128CmHmacSha1_80 = 1,
Aes128CmHmacSha1_32 = 2,
AeadAes128Gcm = 7,
AeadAes256Gcm = 8,
}
Expand description
ProtectionProfile specifies Cipher and AuthTag details, similar to TLS cipher suite
Variants§
Implementations§
Source§impl ProtectionProfile
impl ProtectionProfile
pub fn key_len(&self) -> usize
pub fn salt_len(&self) -> usize
pub fn rtp_auth_tag_len(&self) -> usize
pub fn rtcp_auth_tag_len(&self) -> usize
pub fn aead_auth_tag_len(&self) -> usize
pub fn auth_key_len(&self) -> usize
Trait Implementations§
Source§impl Clone for ProtectionProfile
impl Clone for ProtectionProfile
Source§fn clone(&self) -> ProtectionProfile
fn clone(&self) -> ProtectionProfile
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ProtectionProfile
impl Debug for ProtectionProfile
Source§impl Default for ProtectionProfile
impl Default for ProtectionProfile
Source§fn default() -> ProtectionProfile
fn default() -> ProtectionProfile
Returns the “default value” for a type. Read more
impl Copy for ProtectionProfile
Auto Trait Implementations§
impl Freeze for ProtectionProfile
impl RefUnwindSafe for ProtectionProfile
impl Send for ProtectionProfile
impl Sync for ProtectionProfile
impl Unpin for ProtectionProfile
impl UnwindSafe for ProtectionProfile
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