pub struct Frame {
pub conn_tag: u64,
pub object_id: u16,
pub payload_id: [u8; 4],
pub flags: u8,
pub payload: Vec<u8>,
}Expand description
A single on-wire frame carrying one FEC symbol.
Fields§
§conn_tag: u64Epoch-rotating keyed token selecting the session/decoder.
object_id: u16Which pipelined FEC object this symbol belongs to.
payload_id: [u8; 4]FEC payload identifier (Reed–Solomon codec tag + symbol index), opaque to the wire layer.
flags: u8Symbol kind / control bits (source/repair, feedback, ARQ).
payload: Vec<u8>The ciphertext symbol payload.
Trait Implementations§
impl Eq for Frame
impl StructuralPartialEq for Frame
Auto Trait Implementations§
impl Freeze for Frame
impl RefUnwindSafe for Frame
impl Send for Frame
impl Sync for Frame
impl Unpin for Frame
impl UnsafeUnpin for Frame
impl UnwindSafe for Frame
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