pub struct SrtpParametersRef<'a>(/* private fields */);
Expand description
Reference to a deserialized SrtpParameters.
Implementations§
Source§impl<'a> SrtpParametersRef<'a>
impl<'a> SrtpParametersRef<'a>
Sourcepub fn crypto_suite(&self) -> Result<SrtpCryptoSuite>
pub fn crypto_suite(&self) -> Result<SrtpCryptoSuite>
Getter for the crypto_suite
field.
Sourcepub fn key_base64(&self) -> Result<&'a str>
pub fn key_base64(&self) -> Result<&'a str>
Getter for the key_base64
field.
Trait Implementations§
Source§impl<'a> Clone for SrtpParametersRef<'a>
impl<'a> Clone for SrtpParametersRef<'a>
Source§fn clone(&self) -> SrtpParametersRef<'a>
fn clone(&self) -> SrtpParametersRef<'a>
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<'a> Debug for SrtpParametersRef<'a>
impl<'a> Debug for SrtpParametersRef<'a>
Source§impl<'a> ReadAsRoot<'a> for SrtpParametersRef<'a>
impl<'a> ReadAsRoot<'a> for SrtpParametersRef<'a>
Source§impl<'a> TryFrom<SrtpParametersRef<'a>> for SrtpParameters
impl<'a> TryFrom<SrtpParametersRef<'a>> for SrtpParameters
impl<'a> Copy for SrtpParametersRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for SrtpParametersRef<'a>
impl<'a> RefUnwindSafe for SrtpParametersRef<'a>
impl<'a> Send for SrtpParametersRef<'a>
impl<'a> Sync for SrtpParametersRef<'a>
impl<'a> Unpin for SrtpParametersRef<'a>
impl<'a> UnwindSafe for SrtpParametersRef<'a>
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