pub struct SrtpKeyParam(/* private fields */);Expand description
A crate::SrtpKeyParam builder.
Implementations§
Source§impl SrtpKeyParam
impl SrtpKeyParam
pub fn new(key_and_salt: impl ToString) -> Self
pub fn lifetime(self, lifetime: u32) -> Self
pub fn lifetime_if(self, lifetime: u32, predicate: bool) -> Self
pub fn lifetime_if_some(self, lifetime: Option<u32>) -> Self
pub fn mki_and_length(self, mki: u32, length: u32) -> Self
pub fn mki_and_length_if(self, mki: u32, length: u32, predicate: bool) -> Self
pub fn mki_and_length_if_some(self, mki_length: Option<(u32, u32)>) -> Self
pub fn build(self) -> SrtpKeyParam
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SrtpKeyParam
impl RefUnwindSafe for SrtpKeyParam
impl Send for SrtpKeyParam
impl Sync for SrtpKeyParam
impl Unpin for SrtpKeyParam
impl UnsafeUnpin for SrtpKeyParam
impl UnwindSafe for SrtpKeyParam
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