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