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