pub enum LogAction {
Keep,
Rotate,
Prune,
SkipUnmanaged,
}Expand description
The action planned for one directory entry.
Variants§
Keep
A managed file within retention — leave it.
Rotate
A managed active log over the size limit — rotate it.
Prune
A managed rotated generation beyond keep_rotated — prune it.
SkipUnmanaged
Not an RCH-managed log — report only; never touch.
Implementations§
Trait Implementations§
impl Copy for LogAction
Source§impl<'de> Deserialize<'de> for LogAction
impl<'de> Deserialize<'de> for LogAction
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 LogAction
impl StructuralPartialEq for LogAction
Auto Trait Implementations§
impl Freeze for LogAction
impl RefUnwindSafe for LogAction
impl Send for LogAction
impl Sync for LogAction
impl Unpin for LogAction
impl UnsafeUnpin for LogAction
impl UnwindSafe for LogAction
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,
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.