pub struct UnknownReportBlock {
pub block_type: BlockType,
pub type_specific: TypeSpecificField,
pub bytes: Bytes,
}Expand description
UnknownReportBlock stores a report block that is not parsed: one of a type this crate does not model, or one of a known type that is malformed.
It keeps what the block header said, so the block is written back as what it was.
Fields§
§block_type: BlockTypeThe block’s type.
type_specific: TypeSpecificFieldThe type-specific octet of the block header.
bytes: BytesThe block’s bytes after its header, left unparsed. A whole number of 32-bit words.
Implementations§
Trait Implementations§
Source§impl Clone for UnknownReportBlock
impl Clone for UnknownReportBlock
Source§impl Debug for UnknownReportBlock
impl Debug for UnknownReportBlock
Source§impl Default for UnknownReportBlock
impl Default for UnknownReportBlock
Source§impl Display for UnknownReportBlock
impl Display for UnknownReportBlock
impl Eq for UnknownReportBlock
Source§impl Marshal for UnknownReportBlock
impl Marshal for UnknownReportBlock
Source§impl MarshalSize for UnknownReportBlock
impl MarshalSize for UnknownReportBlock
Source§fn marshal_size(&self) -> usize
fn marshal_size(&self) -> usize
The number of bytes
Marshal::marshal_to will write for this value.Source§impl Packet for UnknownReportBlock
impl Packet for UnknownReportBlock
Source§fn destination_ssrc(&self) -> Vec<u32>
fn destination_ssrc(&self) -> Vec<u32>
destination_ssrc returns an array of ssrc values that this report block refers to.
Source§fn as_any(&self) -> &dyn Any
fn as_any(&self) -> &dyn Any
Downcasting hook, so a caller holding
Box<dyn Packet> can recover the concrete type.Source§impl PartialEq for UnknownReportBlock
impl PartialEq for UnknownReportBlock
impl StructuralPartialEq for UnknownReportBlock
Auto Trait Implementations§
impl !Freeze for UnknownReportBlock
impl Forget for UnknownReportBlock
impl Move for UnknownReportBlock
impl RefUnwindSafe for UnknownReportBlock
impl Send for UnknownReportBlock
impl Sync for UnknownReportBlock
impl Unpin for UnknownReportBlock
impl UnsafeUnpin for UnknownReportBlock
impl UnwindSafe for UnknownReportBlock
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