pub struct LogRotationReceipt {
pub rotated: Vec<String>,
pub pruned: Vec<String>,
pub skipped_unmanaged: Vec<String>,
pub pruned_bytes: u64,
}Expand description
What a real rotation pass did.
Fields§
§rotated: Vec<String>Active logs that were rotated (active -> .1, generations shifted up).
pruned: Vec<String>Rotated generations pruned (beyond keep_rotated).
skipped_unmanaged: Vec<String>Unmanaged files seen and deliberately left untouched.
pruned_bytes: u64Bytes reclaimed by pruning old generations.
Trait Implementations§
Source§impl Clone for LogRotationReceipt
impl Clone for LogRotationReceipt
Source§impl Debug for LogRotationReceipt
impl Debug for LogRotationReceipt
Source§impl Default for LogRotationReceipt
impl Default for LogRotationReceipt
Source§impl<'de> Deserialize<'de> for LogRotationReceipt
impl<'de> Deserialize<'de> for LogRotationReceipt
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 LogRotationReceipt
Source§impl PartialEq for LogRotationReceipt
impl PartialEq for LogRotationReceipt
Source§impl Serialize for LogRotationReceipt
impl Serialize for LogRotationReceipt
impl StructuralPartialEq for LogRotationReceipt
Auto Trait Implementations§
impl Freeze for LogRotationReceipt
impl RefUnwindSafe for LogRotationReceipt
impl Send for LogRotationReceipt
impl Sync for LogRotationReceipt
impl Unpin for LogRotationReceipt
impl UnsafeUnpin for LogRotationReceipt
impl UnwindSafe for LogRotationReceipt
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.