#[repr(C, align(64))]pub struct StateLayout256 {
pub header: LayoutHeader,
pub seq: IndexbusAtomicU64,
pub len: IndexbusAtomicU32,
pub pad: IndexbusAtomicU32,
pub data: [u8; 256],
pub pad_to_64: [u8; 32],
}Expand description
Concrete v1 state layout for STATE_MAX=256 (header generation target).
Fields§
§header: LayoutHeaderCommon region header (magic/version/capabilities/layout size).
seq: IndexbusAtomicU64State sequence protocol.
len: IndexbusAtomicU32Current payload length in bytes.
pad: IndexbusAtomicU32Padding (reserved).
data: [u8; 256]State payload bytes (up to len).
pad_to_64: [u8; 32]16 + 8 + 4 + 4 + 256 = 288; pad 32 bytes so appended wake starts 64-aligned.
Auto Trait Implementations§
impl !Freeze for StateLayout256
impl !RefUnwindSafe for StateLayout256
impl Send for StateLayout256
impl Sync for StateLayout256
impl Unpin for StateLayout256
impl UnwindSafe for StateLayout256
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