pub struct WireHeader {
pub lane: Lane,
pub record_kind: RecordKind,
pub fec_scheme: FecScheme,
pub symbol_kind: FecSymbolKind,
pub session_id: [u8; 16],
pub sender_id: u32,
pub object_id: u64,
pub fec_metadata: [u8; 12],
pub fragment_count: u32,
}Expand description
Fixed-endian metadata repeated on every independently reorderable symbol.
Fields§
§lane: Lane§record_kind: RecordKind§fec_scheme: FecScheme§symbol_kind: FecSymbolKind§session_id: [u8; 16]§sender_id: u32§object_id: u64RaptorQ object identity. Not transmitted for RLC; decoded as zero.
fec_metadata: [u8; 12]RaptorQ OTI (12 bytes), RLC source ID (first 4), or RLC repair ID (first 8). RaptorQ’s reserved byte at index 5 must be zero; it is omitted on the wire and restored locally when decoding. Unused RLC bytes are not transmitted and decode as zero.
fragment_count: u32RaptorQ payload ID. Not transmitted for RLC; decoded as zero.
Trait Implementations§
Source§impl Clone for WireHeader
impl Clone for WireHeader
impl Copy for WireHeader
Source§impl Debug for WireHeader
impl Debug for WireHeader
impl Eq for WireHeader
Source§impl PartialEq for WireHeader
impl PartialEq for WireHeader
impl StructuralPartialEq for WireHeader
Auto Trait Implementations§
impl Freeze for WireHeader
impl RefUnwindSafe for WireHeader
impl Send for WireHeader
impl Sync for WireHeader
impl Unpin for WireHeader
impl UnsafeUnpin for WireHeader
impl UnwindSafe for WireHeader
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Converts
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Converts
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Converts
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Converts
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.§impl<T> DowncastSend for T
impl<T> DowncastSend for T
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more