#[repr(C, align(64))]pub struct Mailbox {
pub state: AtomicU64,
pub items: [LineItem; 3],
pub _pad: [u8; 8],
}Expand description
One per-thief mailbox cache line.
Fields§
§state: AtomicU64State word: (epoch:32) << 32 | (n_items:16) << 16 | claim:16.
items: [LineItem; 3]Inline items.
_pad: [u8; 8]Trailing padding.
Auto Trait Implementations§
impl !Freeze for Mailbox
impl RefUnwindSafe for Mailbox
impl Send for Mailbox
impl Sync for Mailbox
impl Unpin for Mailbox
impl UnsafeUnpin for Mailbox
impl UnwindSafe for Mailbox
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