pub(crate) enum Outcome {
Rewritten {
bytes_before: u64,
bytes_after: u64,
rows: usize,
},
AlreadyCurrent,
Empty,
}Expand description
Result of processing one file with recompress_file.
Variants§
Rewritten
The file was rewritten and verified (or, in a dry run, a verified copy was written and then deleted).
Fields
AlreadyCurrent
The file already uses the current format and was left untouched.
Empty
The file has no row groups, so there is nothing to compress. It is left untouched. The previous archiver wrote such files when a rotation fired while no data was arriving.
Trait Implementations§
impl Eq for Outcome
impl StructuralPartialEq for Outcome
Auto Trait Implementations§
impl Freeze for Outcome
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnsafeUnpin for Outcome
impl UnwindSafe for Outcome
Blanket Implementations§
impl<T> Allocation for T
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more