pub struct TrimStats {
pub block_count: usize,
pub block_bytes: u64,
}Expand description
Native cache released by one explicit maintenance call. Live regions never move.
Fields§
§block_count: usize§block_bytes: u64Implementations§
Source§impl TrimStats
impl TrimStats
Sourcepub fn set_block_count(self, value: usize) -> Self
pub fn set_block_count(self, value: usize) -> Self
Set block_count and return the updated record.
Sourcepub fn set_block_bytes(self, value: u64) -> Self
pub fn set_block_bytes(self, value: u64) -> Self
Set block_bytes and return the updated record.
Trait Implementations§
impl Copy for TrimStats
impl Eq for TrimStats
impl StructuralPartialEq for TrimStats
Auto Trait Implementations§
impl Forget for TrimStats
impl Freeze for TrimStats
impl Move for TrimStats
impl RefUnwindSafe for TrimStats
impl Send for TrimStats
impl Sync for TrimStats
impl Unpin for TrimStats
impl UnsafeUnpin for TrimStats
impl UnwindSafe for TrimStats
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