pub struct CacheLimit {
pub limit: u64,
pub over: bool,
pub label: String,
}Expand description
A cache volume against its limit, from CacheVolume::limit_status.
Fields§
§limit: u64In bytes.
over: boolWhether the volume is past it, so runnerd acts on it.
label: StringWhat runnerd does at it: emptied above 5G, trimmed to 20G, or for a snapshot started over at its next reseed above 30G.
Implementations§
Trait Implementations§
Source§impl Clone for CacheLimit
impl Clone for CacheLimit
Source§impl Debug for CacheLimit
impl Debug for CacheLimit
impl Eq for CacheLimit
Source§impl PartialEq for CacheLimit
impl PartialEq for CacheLimit
impl StructuralPartialEq for CacheLimit
Auto Trait Implementations§
impl Freeze for CacheLimit
impl RefUnwindSafe for CacheLimit
impl Send for CacheLimit
impl Sync for CacheLimit
impl Unpin for CacheLimit
impl UnsafeUnpin for CacheLimit
impl UnwindSafe for CacheLimit
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.