pub enum SrtpProfile {
Aes128CmSha180,
Aes128CmSha132,
AeadAes128Gcm,
AeadAes256Gcm,
// some variants omitted
}
Expand description
SRTP is the Secure Real-Time Transport Protocol.
This enum represents the supported protection profile names.
More information: https://www.openssl.org/docs/man1.1.0/man3/SSL_get_srtp_profiles.html
Variants§
Aes128CmSha180
This corresponds to SRTP_AES128_CM_HMAC_SHA1_80 defined in RFC5764.
Aes128CmSha132
This corresponds to SRTP_AES128_CM_HMAC_SHA1_32 defined in RFC5764.
AeadAes128Gcm
This corresponds to the profile of the same name defined in RFC7714.
AeadAes256Gcm
This corresponds to the profile of the same name defined in RFC7714.
Trait Implementations§
Source§impl Clone for SrtpProfile
impl Clone for SrtpProfile
Source§fn clone(&self) -> SrtpProfile
fn clone(&self) -> SrtpProfile
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 SrtpProfile
impl Debug for SrtpProfile
Source§impl FromStr for SrtpProfile
impl FromStr for SrtpProfile
Source§impl Hash for SrtpProfile
impl Hash for SrtpProfile
Source§impl Ord for SrtpProfile
impl Ord for SrtpProfile
Source§fn cmp(&self, other: &SrtpProfile) -> Ordering
fn cmp(&self, other: &SrtpProfile) -> 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 SrtpProfile
impl PartialEq for SrtpProfile
Source§impl PartialOrd for SrtpProfile
impl PartialOrd for SrtpProfile
Source§impl ToString for SrtpProfile
impl ToString for SrtpProfile
impl Copy for SrtpProfile
impl Eq for SrtpProfile
impl StructuralPartialEq for SrtpProfile
Auto Trait Implementations§
impl Freeze for SrtpProfile
impl RefUnwindSafe for SrtpProfile
impl Send for SrtpProfile
impl Sync for SrtpProfile
impl Unpin for SrtpProfile
impl UnwindSafe for SrtpProfile
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