pub struct UlpfecLevel {
pub mask: u64,
pub payload: Bytes,
}Expand description
One protection level of a FEC packet: its mask and its payload (RFC 5109 7.4).
Fields§
§mask: u64Which packets the level protects: bit i (bit 0 the least significant) stands for the
packet with sequence number SN base + i. On the wire the order is the reverse, i = 0
being the most significant bit of the mask field.
payload: BytesThe level’s payload; its length is the level’s protection length.
Implementations§
Trait Implementations§
Source§impl Clone for UlpfecLevel
impl Clone for UlpfecLevel
Source§impl Debug for UlpfecLevel
impl Debug for UlpfecLevel
impl Eq for UlpfecLevel
Source§impl PartialEq for UlpfecLevel
impl PartialEq for UlpfecLevel
impl StructuralPartialEq for UlpfecLevel
Auto Trait Implementations§
impl !Freeze for UlpfecLevel
impl Forget for UlpfecLevel
impl Move for UlpfecLevel
impl RefUnwindSafe for UlpfecLevel
impl Send for UlpfecLevel
impl Sync for UlpfecLevel
impl Unpin for UlpfecLevel
impl UnsafeUnpin for UlpfecLevel
impl UnwindSafe for UlpfecLevel
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