#[repr(C, align(8))]pub struct LineItem {
pub payload: [u8; 16],
}Expand description
One item carried in a publication line. 16 bytes.
Fields§
§payload: [u8; 16]Byte-oriented payload. Callers marshal in / unmarshal out; the KHPD layer treats this as an opaque 16-byte slot.
Implementations§
Trait Implementations§
impl Copy for LineItem
impl Eq for LineItem
Source§impl Marshal for LineItem
impl Marshal for LineItem
Source§const PAYLOAD_BYTES: usize = KHPD_ITEM_BYTES
const PAYLOAD_BYTES: usize = KHPD_ITEM_BYTES
Exact byte width of the marshalled form.
impl StructuralPartialEq for LineItem
Auto Trait Implementations§
impl Freeze for LineItem
impl RefUnwindSafe for LineItem
impl Send for LineItem
impl Sync for LineItem
impl Unpin for LineItem
impl UnsafeUnpin for LineItem
impl UnwindSafe for LineItem
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