pub struct ScratchConfig {
pub retention_days: u32,
pub warn_size_mb: u64,
}Fields§
§retention_days: u32Entries whose newest mtime is older than this many days are removed by the supervisor before the sandbox seals.
warn_size_mb: u64mur agent doctor warns when an agent’s scratch dir exceeds this.
Trait Implementations§
Source§impl Clone for ScratchConfig
impl Clone for ScratchConfig
Source§impl Debug for ScratchConfig
impl Debug for ScratchConfig
Source§impl Default for ScratchConfig
impl Default for ScratchConfig
Source§impl<'de> Deserialize<'de> for ScratchConfig
impl<'de> Deserialize<'de> for ScratchConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ScratchConfig
Source§impl PartialEq for ScratchConfig
impl PartialEq for ScratchConfig
Source§impl Serialize for ScratchConfig
impl Serialize for ScratchConfig
impl StructuralPartialEq for ScratchConfig
Auto Trait Implementations§
impl Freeze for ScratchConfig
impl RefUnwindSafe for ScratchConfig
impl Send for ScratchConfig
impl Sync for ScratchConfig
impl Unpin for ScratchConfig
impl UnsafeUnpin for ScratchConfig
impl UnwindSafe for ScratchConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.