Struct webrtc_srtp::config::SessionKeys
source · [−]pub struct SessionKeys {
pub local_master_key: Vec<u8>,
pub local_master_salt: Vec<u8>,
pub remote_master_key: Vec<u8>,
pub remote_master_salt: Vec<u8>,
}
Expand description
SessionKeys bundles the keys required to setup an SRTP session
Fields
local_master_key: Vec<u8>
local_master_salt: Vec<u8>
remote_master_key: Vec<u8>
remote_master_salt: Vec<u8>
Trait Implementations
sourceimpl Clone for SessionKeys
impl Clone for SessionKeys
sourcefn clone(&self) -> SessionKeys
fn clone(&self) -> SessionKeys
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 SessionKeys
impl Debug for SessionKeys
sourceimpl Default for SessionKeys
impl Default for SessionKeys
sourcefn default() -> SessionKeys
fn default() -> SessionKeys
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for SessionKeys
impl Send for SessionKeys
impl Sync for SessionKeys
impl Unpin for SessionKeys
impl UnwindSafe for SessionKeys
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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