pub struct EngineCachePruneOpts<'a> {
pub max_used_space: Option<&'a str>,
pub min_free_space: Option<&'a str>,
pub reserved_space: Option<&'a str>,
pub target_space: Option<&'a str>,
pub use_default_policy: Option<bool>,
}Fields§
§max_used_space: Option<&'a str>Override the maximum disk space to keep before pruning (e.g. “200GB” or “80%”).
min_free_space: Option<&'a str>Override the minimum free disk space target during pruning (e.g. “20GB” or “20%”).
reserved_space: Option<&'a str>Override the minimum disk space to retain during pruning (e.g. “500GB” or “10%”).
target_space: Option<&'a str>Override the target disk space to keep after pruning (e.g. “200GB” or “50%”).
use_default_policy: Option<bool>Use the engine-wide default pruning policy if true, otherwise prune the whole cache of any releasable entries.
Trait Implementations§
Source§impl<'a> Debug for EngineCachePruneOpts<'a>
impl<'a> Debug for EngineCachePruneOpts<'a>
Source§impl<'a> PartialEq for EngineCachePruneOpts<'a>
impl<'a> PartialEq for EngineCachePruneOpts<'a>
impl<'a> StructuralPartialEq for EngineCachePruneOpts<'a>
Auto Trait Implementations§
impl<'a> Freeze for EngineCachePruneOpts<'a>
impl<'a> RefUnwindSafe for EngineCachePruneOpts<'a>
impl<'a> Send for EngineCachePruneOpts<'a>
impl<'a> Sync for EngineCachePruneOpts<'a>
impl<'a> Unpin for EngineCachePruneOpts<'a>
impl<'a> UnsafeUnpin for EngineCachePruneOpts<'a>
impl<'a> UnwindSafe for EngineCachePruneOpts<'a>
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