#[repr(C, align(16))]pub struct zbq_msg_header {
pub payload_len: u32,
pub fd_count: u8,
pub flags: u8,
pub reserved: u16,
pub seq_id: u64,
}Expand description
16-byte packed message header, 16-byte aligned.
Every committed run starts with this header followed by payload_len bytes
of payload. total_len (used by the consumer view) is
sizeof(zbq_msg_header) + payload_len.
Fields§
§payload_len: u32Length in bytes of the payload that follows this header.
fd_count: u8Number of file descriptors attached to this message (0..253).
flags: u8Message-specific flags (reserved, currently ignored on the wire).
reserved: u16Reserved for future use.
seq_id: u64Sequence ID used to correlate the ring entry with FD records sent over the per-consumer side socket.
Auto Trait Implementations§
impl Freeze for zbq_msg_header
impl RefUnwindSafe for zbq_msg_header
impl Send for zbq_msg_header
impl Sync for zbq_msg_header
impl Unpin for zbq_msg_header
impl UnsafeUnpin for zbq_msg_header
impl UnwindSafe for zbq_msg_header
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