pub enum FlexFecProtected {
Mask(BitArray),
Fixed {
l: u8,
d: u8,
},
}Expand description
How one block of a repair packet names the source packets it protects.
Exhaustive: the one F bit selects between the two.
Variants§
Mask(BitArray)
Flexible mask (R=0, F=0): bit j set means the packet SN base + j is protected, bit 0
being the most significant (section 4.2.2.1). Up to 110 bits.
Fixed
Fixed L columns and D rows (R=0, F=1; section 4.2.2.2, Figure 14):
d <= 1: row FEC overSN base, SN base + 1, ..., SN base + (l - 1)(d == 1says column FEC follows, 2-D);d > 1: column FEC overSN base, SN base + l, ..., SN base + (d - 1) * l.
Trait Implementations§
Source§impl Clone for FlexFecProtected
impl Clone for FlexFecProtected
impl Copy for FlexFecProtected
Source§impl Debug for FlexFecProtected
impl Debug for FlexFecProtected
impl Eq for FlexFecProtected
Source§impl PartialEq for FlexFecProtected
impl PartialEq for FlexFecProtected
impl StructuralPartialEq for FlexFecProtected
Auto Trait Implementations§
impl Forget for FlexFecProtected
impl Freeze for FlexFecProtected
impl Move for FlexFecProtected
impl RefUnwindSafe for FlexFecProtected
impl Send for FlexFecProtected
impl Sync for FlexFecProtected
impl Unpin for FlexFecProtected
impl UnsafeUnpin for FlexFecProtected
impl UnwindSafe for FlexFecProtected
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