#[repr(C, align(64))]pub struct MsgDesc {
pub msg_type: u8,
pub flags: u8,
pub _reserved: [u8; 2],
pub id: u32,
pub method_id: u64,
pub payload_slot: u32,
pub payload_generation: u32,
pub payload_offset: u32,
pub payload_len: u32,
pub inline_payload: [u8; 32],
}Expand description
Message descriptor (64 bytes) per SHM spec.
Spec: docs/content/shm-spec/_index.md “MsgDesc (64 bytes)”.
Fields§
§msg_type: u8§flags: u8§_reserved: [u8; 2]§id: u32§method_id: u64§payload_slot: u32§payload_generation: u32§payload_offset: u32§payload_len: u32§inline_payload: [u8; 32]Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MsgDesc
impl RefUnwindSafe for MsgDesc
impl Send for MsgDesc
impl Sync for MsgDesc
impl Unpin for MsgDesc
impl UnwindSafe for MsgDesc
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