pub struct HomePolicy {
pub young: Duration,
pub max_bytes: u64,
}Expand description
What a home sweep removes: homes whose run is over (or whose run record is gone) and that are
older than young, then the oldest inactive homes until the rest fit max_bytes.
Fields§
§young: Duration§max_bytes: u64Trait Implementations§
Auto Trait Implementations§
impl Freeze for HomePolicy
impl RefUnwindSafe for HomePolicy
impl Send for HomePolicy
impl Sync for HomePolicy
impl Unpin for HomePolicy
impl UnsafeUnpin for HomePolicy
impl UnwindSafe for HomePolicy
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