pub struct OverflowSlot {
pub offset: usize,
pub size: usize,
pub engine: EngineId,
pub occupied: bool,
}Expand description
Metadata for one spilled allocation in the overflow region.
Fields§
§offset: usizeOffset within the mmap region.
size: usizeSize of the spilled data.
engine: EngineIdEngine that owned this allocation.
occupied: boolWhether this slot is occupied (false = freed/compacted).
Trait Implementations§
Source§impl Clone for OverflowSlot
impl Clone for OverflowSlot
Source§fn clone(&self) -> OverflowSlot
fn clone(&self) -> OverflowSlot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for OverflowSlot
impl RefUnwindSafe for OverflowSlot
impl Send for OverflowSlot
impl Sync for OverflowSlot
impl Unpin for OverflowSlot
impl UnsafeUnpin for OverflowSlot
impl UnwindSafe for OverflowSlot
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