pub struct MapHeader {
pub magic: u32,
pub capacity: u32,
pub count: AtomicU64,
pub key_size: u32,
pub value_size: u32,
pub tombstones: AtomicU64,
/* private fields */
}Fields§
§magic: u32§capacity: u32§count: AtomicU64§key_size: u32§value_size: u32§tombstones: AtomicU64Monotonic counter of tombstones currently in the table.
Bumped by remove, zeroed by compact. Used by callers
(e.g. SharedLRUCache) to decide when to compact.
Auto Trait Implementations§
impl !Freeze for MapHeader
impl RefUnwindSafe for MapHeader
impl Send for MapHeader
impl Sync for MapHeader
impl Unpin for MapHeader
impl UnsafeUnpin for MapHeader
impl UnwindSafe for MapHeader
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