pub struct RecoveredBlock {
pub timestamp: u32,
pub payload_type: u8,
pub data: Bytes,
pub primary: bool,
}Expand description
A payload a RedDecoder delivers.
Fields§
§timestamp: u32RTP timestamp of the data.
payload_type: u8Payload type of the data.
data: BytesThe data: a standard RTP payload of payload_type.
primary: booltrue for the primary of the packet fed in, false for data recovered from a
redundant block (whose marker bit is unknown).
Trait Implementations§
Source§impl Clone for RecoveredBlock
impl Clone for RecoveredBlock
Source§impl Debug for RecoveredBlock
impl Debug for RecoveredBlock
impl Eq for RecoveredBlock
Source§impl PartialEq for RecoveredBlock
impl PartialEq for RecoveredBlock
impl StructuralPartialEq for RecoveredBlock
Auto Trait Implementations§
impl !Freeze for RecoveredBlock
impl Forget for RecoveredBlock
impl Move for RecoveredBlock
impl RefUnwindSafe for RecoveredBlock
impl Send for RecoveredBlock
impl Sync for RecoveredBlock
impl Unpin for RecoveredBlock
impl UnsafeUnpin for RecoveredBlock
impl UnwindSafe for RecoveredBlock
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