pub struct RtpCodecParametersRef<'a>(/* private fields */);
Expand description
Reference to a deserialized RtpCodecParameters.
Implementations§
Source§impl<'a> RtpCodecParametersRef<'a>
impl<'a> RtpCodecParametersRef<'a>
Sourcepub fn mime_type(&self) -> Result<&'a str>
pub fn mime_type(&self) -> Result<&'a str>
Getter for the mime_type
field.
Sourcepub fn payload_type(&self) -> Result<u8>
pub fn payload_type(&self) -> Result<u8>
Getter for the payload_type
field.
Sourcepub fn clock_rate(&self) -> Result<u32>
pub fn clock_rate(&self) -> Result<u32>
Getter for the clock_rate
field.
Sourcepub fn parameters(&self) -> Result<Option<Vector<'a, Result<ParameterRef<'a>>>>>
pub fn parameters(&self) -> Result<Option<Vector<'a, Result<ParameterRef<'a>>>>>
Getter for the parameters
field.
Sourcepub fn rtcp_feedback(
&self,
) -> Result<Option<Vector<'a, Result<RtcpFeedbackRef<'a>>>>>
pub fn rtcp_feedback( &self, ) -> Result<Option<Vector<'a, Result<RtcpFeedbackRef<'a>>>>>
Getter for the rtcp_feedback
field.
Trait Implementations§
Source§impl<'a> Clone for RtpCodecParametersRef<'a>
impl<'a> Clone for RtpCodecParametersRef<'a>
Source§fn clone(&self) -> RtpCodecParametersRef<'a>
fn clone(&self) -> RtpCodecParametersRef<'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 RtpCodecParametersRef<'a>
impl<'a> Debug for RtpCodecParametersRef<'a>
Source§impl<'a> ReadAsRoot<'a> for RtpCodecParametersRef<'a>
impl<'a> ReadAsRoot<'a> for RtpCodecParametersRef<'a>
Source§impl<'a> TryFrom<RtpCodecParametersRef<'a>> for RtpCodecParameters
impl<'a> TryFrom<RtpCodecParametersRef<'a>> for RtpCodecParameters
impl<'a> Copy for RtpCodecParametersRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for RtpCodecParametersRef<'a>
impl<'a> RefUnwindSafe for RtpCodecParametersRef<'a>
impl<'a> Send for RtpCodecParametersRef<'a>
impl<'a> Sync for RtpCodecParametersRef<'a>
impl<'a> Unpin for RtpCodecParametersRef<'a>
impl<'a> UnwindSafe for RtpCodecParametersRef<'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