Struct openssl::srtp::SrtpProfileId
source · pub struct SrtpProfileId(/* private fields */);
Expand description
An identifier of an SRTP protection profile.
Implementations§
source§impl SrtpProfileId
impl SrtpProfileId
pub const SRTP_AES128_CM_SHA1_80: SrtpProfileId = _
pub const SRTP_AES128_CM_SHA1_32: SrtpProfileId = _
pub const SRTP_AES128_F8_SHA1_80: SrtpProfileId = _
pub const SRTP_AES128_F8_SHA1_32: SrtpProfileId = _
pub const SRTP_NULL_SHA1_80: SrtpProfileId = _
pub const SRTP_NULL_SHA1_32: SrtpProfileId = _
pub const SRTP_AEAD_AES_128_GCM: SrtpProfileId = _
pub const SRTP_AEAD_AES_256_GCM: SrtpProfileId = _
sourcepub fn from_raw(value: c_ulong) -> SrtpProfileId
pub fn from_raw(value: c_ulong) -> SrtpProfileId
Creates a SrtpProfileId
from an integer representation.
Trait Implementations§
source§impl Clone for SrtpProfileId
impl Clone for SrtpProfileId
source§fn clone(&self) -> SrtpProfileId
fn clone(&self) -> SrtpProfileId
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 SrtpProfileId
impl Debug for SrtpProfileId
source§impl PartialEq<SrtpProfileId> for SrtpProfileId
impl PartialEq<SrtpProfileId> for SrtpProfileId
source§fn eq(&self, other: &SrtpProfileId) -> bool
fn eq(&self, other: &SrtpProfileId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SrtpProfileId
impl Eq for SrtpProfileId
impl StructuralEq for SrtpProfileId
impl StructuralPartialEq for SrtpProfileId
Auto Trait Implementations§
impl RefUnwindSafe for SrtpProfileId
impl Send for SrtpProfileId
impl Sync for SrtpProfileId
impl Unpin for SrtpProfileId
impl UnwindSafe for SrtpProfileId
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