struct UmaCache {
alloc: Option<UmaBox<UmaBucket<[BucketItem]>>>,
free: Option<UmaBox<UmaBucket<[BucketItem]>>>,
allocs: u64,
frees: u64,
}
Expand description
Implementation of uma_cache
structure.
Fields§
§alloc: Option<UmaBox<UmaBucket<[BucketItem]>>>
§free: Option<UmaBox<UmaBucket<[BucketItem]>>>
§allocs: u64
§frees: u64
Trait Implementations§
Auto Trait Implementations§
impl Freeze for UmaCache
impl RefUnwindSafe for UmaCache
impl Send for UmaCache
impl Sync for UmaCache
impl Unpin for UmaCache
impl UnwindSafe for UmaCache
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