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
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
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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more