pub struct RedFecPayload {
pub fec: Vec<Bytes>,
pub primary: Option<(u8, Bytes)>,
}Expand description
What a RED payload of a ULPFEC-protected stream holds.
Fields§
§fec: Vec<Bytes>The FEC payloads: every block, redundant or primary, of the FEC payload type.
primary: Option<(u8, Bytes)>The primary block’s payload type and data when it is media, None when the packet holds
only FEC.
Trait Implementations§
Source§impl Clone for RedFecPayload
impl Clone for RedFecPayload
Source§impl Debug for RedFecPayload
impl Debug for RedFecPayload
impl Eq for RedFecPayload
Source§impl PartialEq for RedFecPayload
impl PartialEq for RedFecPayload
impl StructuralPartialEq for RedFecPayload
Auto Trait Implementations§
impl !Freeze for RedFecPayload
impl Forget for RedFecPayload
impl Move for RedFecPayload
impl RefUnwindSafe for RedFecPayload
impl Send for RedFecPayload
impl Sync for RedFecPayload
impl Unpin for RedFecPayload
impl UnsafeUnpin for RedFecPayload
impl UnwindSafe for RedFecPayload
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