#[repr(C)]pub struct srtp_master_key_t {
pub key: *mut c_uchar,
pub mki_id: *mut c_uchar,
pub mki_size: c_uint,
}
Expand description
@brief srtp_master_key_t represents a master key. There will be a Master Key Index and the Master Key associated with the Master Key Index. Need to also keep track of the Master Key Index Size to correctly read it from a packet.
Fields§
§key: *mut c_uchar
§mki_id: *mut c_uchar
§mki_size: c_uint
Trait Implementations§
Source§impl Clone for srtp_master_key_t
impl Clone for srtp_master_key_t
Source§fn clone(&self) -> srtp_master_key_t
fn clone(&self) -> srtp_master_key_t
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 srtp_master_key_t
impl Debug for srtp_master_key_t
impl Copy for srtp_master_key_t
Auto Trait Implementations§
impl Freeze for srtp_master_key_t
impl RefUnwindSafe for srtp_master_key_t
impl !Send for srtp_master_key_t
impl !Sync for srtp_master_key_t
impl Unpin for srtp_master_key_t
impl UnwindSafe for srtp_master_key_t
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)