#[repr(C, align(16))]pub struct FragmentMetadata {
pub seq: u64,
pub sig: u64,
pub chunk: u32,
pub size: u32,
pub ctl: u16,
pub reserved: u16,
pub ts: u32,
}Fields§
§seq: u64Monotonic sequence number used for ordering and overwrite detection.
sig: u64Signature or tag used for identification or filtering.
chunk: u32Index into the data cache for the payload bytes.
size: u32Payload size in bytes.
ctl: u16Control bits for application-specific signaling.
reserved: u16Reserved bits for future expansion.
ts: u32Timestamp or timing metadata.
Trait Implementations§
Source§impl Clone for FragmentMetadata
impl Clone for FragmentMetadata
Source§fn clone(&self) -> FragmentMetadata
fn clone(&self) -> FragmentMetadata
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FragmentMetadata
impl Debug for FragmentMetadata
Source§impl Default for FragmentMetadata
impl Default for FragmentMetadata
Source§fn default() -> FragmentMetadata
fn default() -> FragmentMetadata
Returns the “default value” for a type. Read more
Source§impl Display for FragmentMetadata
impl Display for FragmentMetadata
Source§impl PartialEq for FragmentMetadata
impl PartialEq for FragmentMetadata
impl Copy for FragmentMetadata
impl Eq for FragmentMetadata
impl StructuralPartialEq for FragmentMetadata
Auto Trait Implementations§
impl Freeze for FragmentMetadata
impl RefUnwindSafe for FragmentMetadata
impl Send for FragmentMetadata
impl Sync for FragmentMetadata
impl Unpin for FragmentMetadata
impl UnwindSafe for FragmentMetadata
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