#[repr(u8)]pub enum SrtpCryptoSuite {
AeadAes256Gcm = 0,
AeadAes128Gcm = 1,
AesCm128HmacSha180 = 2,
AesCm128HmacSha132 = 3,
}
Expand description
The enum SrtpCryptoSuite
in the namespace FBS.SrtpParameters
Generated from these locations:
- Enum
SrtpCryptoSuite
in the filefbs/srtpParameters.fbs:3
Variants§
AeadAes256Gcm = 0
The variant AEAD_AES_256_GCM
in the enum SrtpCryptoSuite
AeadAes128Gcm = 1
The variant AEAD_AES_128_GCM
in the enum SrtpCryptoSuite
AesCm128HmacSha180 = 2
The variant AES_CM_128_HMAC_SHA1_80
in the enum SrtpCryptoSuite
AesCm128HmacSha132 = 3
The variant AES_CM_128_HMAC_SHA1_32
in the enum SrtpCryptoSuite
Implementations§
Source§impl SrtpCryptoSuite
impl SrtpCryptoSuite
Sourcepub const ENUM_VALUES: [Self; 4]
pub const ENUM_VALUES: [Self; 4]
Array containing all valid variants of SrtpCryptoSuite
Trait Implementations§
Source§impl Clone for SrtpCryptoSuite
impl Clone for SrtpCryptoSuite
Source§fn clone(&self) -> SrtpCryptoSuite
fn clone(&self) -> SrtpCryptoSuite
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 SrtpCryptoSuite
impl Debug for SrtpCryptoSuite
Source§impl<'de> Deserialize<'de> for SrtpCryptoSuite
impl<'de> Deserialize<'de> for SrtpCryptoSuite
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<SrtpCryptoSuite> for u8
impl From<SrtpCryptoSuite> for u8
Source§fn from(value: SrtpCryptoSuite) -> Self
fn from(value: SrtpCryptoSuite) -> Self
Converts to this type from the input type.
Source§impl Hash for SrtpCryptoSuite
impl Hash for SrtpCryptoSuite
Source§impl Ord for SrtpCryptoSuite
impl Ord for SrtpCryptoSuite
Source§fn cmp(&self, other: &SrtpCryptoSuite) -> Ordering
fn cmp(&self, other: &SrtpCryptoSuite) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SrtpCryptoSuite
impl PartialEq for SrtpCryptoSuite
Source§impl PartialOrd for SrtpCryptoSuite
impl PartialOrd for SrtpCryptoSuite
Source§impl Serialize for SrtpCryptoSuite
impl Serialize for SrtpCryptoSuite
Source§impl TryFrom<u8> for SrtpCryptoSuite
impl TryFrom<u8> for SrtpCryptoSuite
Source§type Error = UnknownEnumTagKind
type Error = UnknownEnumTagKind
The type returned in the event of a conversion error.
impl Copy for SrtpCryptoSuite
impl Eq for SrtpCryptoSuite
impl StructuralPartialEq for SrtpCryptoSuite
impl VectorWrite<SrtpCryptoSuite> for SrtpCryptoSuite
impl WriteAs<SrtpCryptoSuite> for SrtpCryptoSuite
impl WriteAsDefault<SrtpCryptoSuite, SrtpCryptoSuite> for SrtpCryptoSuite
impl WriteAsOptional<SrtpCryptoSuite> for SrtpCryptoSuite
Auto Trait Implementations§
impl Freeze for SrtpCryptoSuite
impl RefUnwindSafe for SrtpCryptoSuite
impl Send for SrtpCryptoSuite
impl Sync for SrtpCryptoSuite
impl Unpin for SrtpCryptoSuite
impl UnwindSafe for SrtpCryptoSuite
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