pub struct TreiberSlabHeader {
pub slot_size: u32,
pub slot_count: u32,
pub max_frame_size: u32,
pub free_head: AtomicU64,
pub slot_available: AtomicU32,
/* private fields */
}Expand description
Slab header (64 bytes, cache-line aligned).
Fields§
§slot_size: u32§slot_count: u32§max_frame_size: u32§free_head: AtomicU64Free list head: index (low 32 bits) + tag (high 32 bits).
slot_available: AtomicU32Slot-availability futex word (unused by this crate, but reserved for parity).
Implementations§
Auto Trait Implementations§
impl !Freeze for TreiberSlabHeader
impl RefUnwindSafe for TreiberSlabHeader
impl Send for TreiberSlabHeader
impl Sync for TreiberSlabHeader
impl Unpin for TreiberSlabHeader
impl UnwindSafe for TreiberSlabHeader
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