pub struct PolicyCost {
pub evicted: u64,
pub bytes: u64,
pub demanded_compile_time_ms: u64,
}Expand description
Evictions one policy made, and the compile time later spent rebuilding the ones the build asked for again (kunobi-ninja/kache#594).
Fields§
§evicted: u64§bytes: u64Logical bytes of the evicted entries.
demanded_compile_time_ms: u64Trait Implementations§
Source§impl Clone for PolicyCost
impl Clone for PolicyCost
impl Copy for PolicyCost
Source§impl Debug for PolicyCost
impl Debug for PolicyCost
Source§impl Default for PolicyCost
impl Default for PolicyCost
impl Eq for PolicyCost
Source§impl PartialEq for PolicyCost
impl PartialEq for PolicyCost
impl StructuralPartialEq for PolicyCost
Auto Trait Implementations§
impl Freeze for PolicyCost
impl RefUnwindSafe for PolicyCost
impl Send for PolicyCost
impl Sync for PolicyCost
impl Unpin for PolicyCost
impl UnsafeUnpin for PolicyCost
impl UnwindSafe for PolicyCost
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