pub struct PlainTransportOptionsRef<'a>(/* private fields */);
Expand description
Reference to a deserialized PlainTransportOptions.
Implementations§
Source§impl<'a> PlainTransportOptionsRef<'a>
impl<'a> PlainTransportOptionsRef<'a>
Sourcepub fn base(&self) -> Result<OptionsRef<'a>>
pub fn base(&self) -> Result<OptionsRef<'a>>
Getter for the base
field.
Sourcepub fn listen_info(&self) -> Result<ListenInfoRef<'a>>
pub fn listen_info(&self) -> Result<ListenInfoRef<'a>>
Getter for the listen_info
field.
Sourcepub fn rtcp_listen_info(&self) -> Result<Option<ListenInfoRef<'a>>>
pub fn rtcp_listen_info(&self) -> Result<Option<ListenInfoRef<'a>>>
Getter for the rtcp_listen_info
field.
Sourcepub fn rtcp_mux(&self) -> Result<bool>
pub fn rtcp_mux(&self) -> Result<bool>
Getter for the rtcp_mux
field.
Sourcepub fn comedia(&self) -> Result<bool>
pub fn comedia(&self) -> Result<bool>
Getter for the comedia
field.
Sourcepub fn enable_srtp(&self) -> Result<bool>
pub fn enable_srtp(&self) -> Result<bool>
Getter for the enable_srtp
field.
Sourcepub fn srtp_crypto_suite(&self) -> Result<Option<SrtpCryptoSuite>>
pub fn srtp_crypto_suite(&self) -> Result<Option<SrtpCryptoSuite>>
Getter for the srtp_crypto_suite
field.
Trait Implementations§
Source§impl<'a> Clone for PlainTransportOptionsRef<'a>
impl<'a> Clone for PlainTransportOptionsRef<'a>
Source§fn clone(&self) -> PlainTransportOptionsRef<'a>
fn clone(&self) -> PlainTransportOptionsRef<'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 PlainTransportOptionsRef<'a>
impl<'a> Debug for PlainTransportOptionsRef<'a>
Source§impl<'a> ReadAsRoot<'a> for PlainTransportOptionsRef<'a>
impl<'a> ReadAsRoot<'a> for PlainTransportOptionsRef<'a>
Source§impl<'a> TryFrom<PlainTransportOptionsRef<'a>> for PlainTransportOptions
impl<'a> TryFrom<PlainTransportOptionsRef<'a>> for PlainTransportOptions
impl<'a> Copy for PlainTransportOptionsRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for PlainTransportOptionsRef<'a>
impl<'a> RefUnwindSafe for PlainTransportOptionsRef<'a>
impl<'a> Send for PlainTransportOptionsRef<'a>
impl<'a> Sync for PlainTransportOptionsRef<'a>
impl<'a> Unpin for PlainTransportOptionsRef<'a>
impl<'a> UnwindSafe for PlainTransportOptionsRef<'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