pub struct RtpParametersRef<'a>(/* private fields */);
Expand description
Reference to a deserialized RtpParameters.
Implementations§
Source§impl<'a> RtpParametersRef<'a>
impl<'a> RtpParametersRef<'a>
Sourcepub fn codecs(&self) -> Result<Vector<'a, Result<RtpCodecParametersRef<'a>>>>
pub fn codecs(&self) -> Result<Vector<'a, Result<RtpCodecParametersRef<'a>>>>
Getter for the codecs
field.
Sourcepub fn header_extensions(
&self,
) -> Result<Vector<'a, Result<RtpHeaderExtensionParametersRef<'a>>>>
pub fn header_extensions( &self, ) -> Result<Vector<'a, Result<RtpHeaderExtensionParametersRef<'a>>>>
Getter for the header_extensions
field.
Sourcepub fn encodings(
&self,
) -> Result<Vector<'a, Result<RtpEncodingParametersRef<'a>>>>
pub fn encodings( &self, ) -> Result<Vector<'a, Result<RtpEncodingParametersRef<'a>>>>
Getter for the encodings
field.
Sourcepub fn rtcp(&self) -> Result<RtcpParametersRef<'a>>
pub fn rtcp(&self) -> Result<RtcpParametersRef<'a>>
Getter for the rtcp
field.
Trait Implementations§
Source§impl<'a> Clone for RtpParametersRef<'a>
impl<'a> Clone for RtpParametersRef<'a>
Source§fn clone(&self) -> RtpParametersRef<'a>
fn clone(&self) -> RtpParametersRef<'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 RtpParametersRef<'a>
impl<'a> Debug for RtpParametersRef<'a>
Source§impl<'a> ReadAsRoot<'a> for RtpParametersRef<'a>
impl<'a> ReadAsRoot<'a> for RtpParametersRef<'a>
Source§impl<'a> TryFrom<RtpParametersRef<'a>> for RtpParameters
impl<'a> TryFrom<RtpParametersRef<'a>> for RtpParameters
impl<'a> Copy for RtpParametersRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for RtpParametersRef<'a>
impl<'a> RefUnwindSafe for RtpParametersRef<'a>
impl<'a> Send for RtpParametersRef<'a>
impl<'a> Sync for RtpParametersRef<'a>
impl<'a> Unpin for RtpParametersRef<'a>
impl<'a> UnwindSafe for RtpParametersRef<'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