Enum mediasoup_sys::fbs::srtp_parameters::SrtpCryptoSuite
source · #[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§fn eq(&self, other: &SrtpCryptoSuite) -> bool
fn eq(&self, other: &SrtpCryptoSuite) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for SrtpCryptoSuite
impl PartialOrd for SrtpCryptoSuite
source§fn partial_cmp(&self, other: &SrtpCryptoSuite) -> Option<Ordering>
fn partial_cmp(&self, other: &SrtpCryptoSuite) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for SrtpCryptoSuite
impl Serialize for SrtpCryptoSuite
source§impl TryFrom<u8> for SrtpCryptoSuite
impl TryFrom<u8> for SrtpCryptoSuite
§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 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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more