pub struct DumpRef<'a>(/* private fields */);
Expand description
Reference to a deserialized Dump.
Implementations§
Source§impl<'a> DumpRef<'a>
impl<'a> DumpRef<'a>
Sourcepub fn payload_type(&self) -> Result<u8>
pub fn payload_type(&self) -> Result<u8>
Getter for the payload_type
field.
Sourcepub fn sequence_number(&self) -> Result<u16>
pub fn sequence_number(&self) -> Result<u16>
Getter for the sequence_number
field.
Sourcepub fn timestamp(&self) -> Result<u32>
pub fn timestamp(&self) -> Result<u32>
Getter for the timestamp
field.
Sourcepub fn marker(&self) -> Result<bool>
pub fn marker(&self) -> Result<bool>
Getter for the marker
field.
Sourcepub fn ssrc(&self) -> Result<u32>
pub fn ssrc(&self) -> Result<u32>
Getter for the ssrc
field.
Sourcepub fn is_key_frame(&self) -> Result<bool>
pub fn is_key_frame(&self) -> Result<bool>
Getter for the is_key_frame
field.
Sourcepub fn size(&self) -> Result<u64>
pub fn size(&self) -> Result<u64>
Getter for the size
field.
Sourcepub fn payload_size(&self) -> Result<u64>
pub fn payload_size(&self) -> Result<u64>
Getter for the payload_size
field.
Sourcepub fn spatial_layer(&self) -> Result<u8>
pub fn spatial_layer(&self) -> Result<u8>
Getter for the spatial_layer
field.
Sourcepub fn temporal_layer(&self) -> Result<u8>
pub fn temporal_layer(&self) -> Result<u8>
Getter for the temporal_layer
field.
Sourcepub fn wide_sequence_number(&self) -> Result<Option<u16>>
pub fn wide_sequence_number(&self) -> Result<Option<u16>>
Getter for the wide_sequence_number
field.
Trait Implementations§
Source§impl<'a> ReadAsRoot<'a> for DumpRef<'a>
impl<'a> ReadAsRoot<'a> for DumpRef<'a>
impl<'a> Copy for DumpRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for DumpRef<'a>
impl<'a> RefUnwindSafe for DumpRef<'a>
impl<'a> Send for DumpRef<'a>
impl<'a> Sync for DumpRef<'a>
impl<'a> Unpin for DumpRef<'a>
impl<'a> UnwindSafe for DumpRef<'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