Struct openssl::srtp::SrtpProfileId
source · [−]pub struct SrtpProfileId(_);
Expand description
An identifier of an SRTP protection profile.
Implementations
sourceimpl SrtpProfileId
impl SrtpProfileId
pub const SRTP_AES128_CM_SHA1_80: SrtpProfileId = SrtpProfileId(ffi::SRTP_AES128_CM_SHA1_80)
pub const SRTP_AES128_CM_SHA1_32: SrtpProfileId = SrtpProfileId(ffi::SRTP_AES128_CM_SHA1_32)
pub const SRTP_AES128_F8_SHA1_80: SrtpProfileId = SrtpProfileId(ffi::SRTP_AES128_F8_SHA1_80)
pub const SRTP_AES128_F8_SHA1_32: SrtpProfileId = SrtpProfileId(ffi::SRTP_AES128_F8_SHA1_32)
pub const SRTP_NULL_SHA1_80: SrtpProfileId = SrtpProfileId(ffi::SRTP_NULL_SHA1_80)
pub const SRTP_NULL_SHA1_32: SrtpProfileId = SrtpProfileId(ffi::SRTP_NULL_SHA1_32)
pub const SRTP_AEAD_AES_128_GCM: SrtpProfileId = SrtpProfileId(ffi::SRTP_AEAD_AES_128_GCM)
pub const SRTP_AEAD_AES_256_GCM: SrtpProfileId = SrtpProfileId(ffi::SRTP_AEAD_AES_256_GCM)
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
sourceimpl Clone for SrtpProfileId
impl Clone for SrtpProfileId
sourcefn clone(&self) -> SrtpProfileId
fn clone(&self) -> SrtpProfileId
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for SrtpProfileId
impl Debug for SrtpProfileId
sourceimpl PartialEq<SrtpProfileId> for SrtpProfileId
impl PartialEq<SrtpProfileId> for SrtpProfileId
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &SrtpProfileId) -> bool
fn ne(&self, other: &SrtpProfileId) -> bool
This method tests for !=
.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more