pub enum SlabDeallocResult {
Done,
FreeSlab {
base: usize,
pages: usize,
},
}Expand description
Result of a slab deallocation.
Variants§
Done
Object freed, nothing else to do.
FreeSlab
The slab page at base became empty and should be returned to the buddy.
Auto Trait Implementations§
impl Freeze for SlabDeallocResult
impl RefUnwindSafe for SlabDeallocResult
impl Send for SlabDeallocResult
impl Sync for SlabDeallocResult
impl Unpin for SlabDeallocResult
impl UnsafeUnpin for SlabDeallocResult
impl UnwindSafe for SlabDeallocResult
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