pub struct ParamsRef<'a>(/* private fields */);
Expand description
Reference to a deserialized Params.
Implementations§
Source§impl<'a> ParamsRef<'a>
impl<'a> ParamsRef<'a>
Sourcepub fn encoding_idx(&self) -> Result<u32>
pub fn encoding_idx(&self) -> Result<u32>
Getter for the encoding_idx
field.
Sourcepub fn ssrc(&self) -> Result<u32>
pub fn ssrc(&self) -> Result<u32>
Getter for the ssrc
field.
Sourcepub fn payload_type(&self) -> Result<u8>
pub fn payload_type(&self) -> Result<u8>
Getter for the payload_type
field.
Sourcepub fn mime_type(&self) -> Result<&'a str>
pub fn mime_type(&self) -> Result<&'a str>
Getter for the mime_type
field.
Sourcepub fn clock_rate(&self) -> Result<u32>
pub fn clock_rate(&self) -> Result<u32>
Getter for the clock_rate
field.
Sourcepub fn cname(&self) -> Result<&'a str>
pub fn cname(&self) -> Result<&'a str>
Getter for the cname
field.
Sourcepub fn rtx_payload_type(&self) -> Result<Option<u8>>
pub fn rtx_payload_type(&self) -> Result<Option<u8>>
Getter for the rtx_payload_type
field.
Sourcepub fn use_nack(&self) -> Result<bool>
pub fn use_nack(&self) -> Result<bool>
Getter for the use_nack
field.
Sourcepub fn use_pli(&self) -> Result<bool>
pub fn use_pli(&self) -> Result<bool>
Getter for the use_pli
field.
Sourcepub fn use_fir(&self) -> Result<bool>
pub fn use_fir(&self) -> Result<bool>
Getter for the use_fir
field.
Sourcepub fn use_in_band_fec(&self) -> Result<bool>
pub fn use_in_band_fec(&self) -> Result<bool>
Getter for the use_in_band_fec
field.
Sourcepub fn use_dtx(&self) -> Result<bool>
pub fn use_dtx(&self) -> Result<bool>
Getter for the use_dtx
field.
Sourcepub fn spatial_layers(&self) -> Result<u8>
pub fn spatial_layers(&self) -> Result<u8>
Getter for the spatial_layers
field.
Sourcepub fn temporal_layers(&self) -> Result<u8>
pub fn temporal_layers(&self) -> Result<u8>
Getter for the temporal_layers
field.
Trait Implementations§
Source§impl<'a> ReadAsRoot<'a> for ParamsRef<'a>
impl<'a> ReadAsRoot<'a> for ParamsRef<'a>
impl<'a> Copy for ParamsRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for ParamsRef<'a>
impl<'a> RefUnwindSafe for ParamsRef<'a>
impl<'a> Send for ParamsRef<'a>
impl<'a> Sync for ParamsRef<'a>
impl<'a> Unpin for ParamsRef<'a>
impl<'a> UnwindSafe for ParamsRef<'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