pub struct RecoveryReport {
pub shard_path: PathBuf,
pub events_preserved: usize,
pub events_discarded: usize,
pub corruption_offset: Option<u64>,
pub action_taken: RecoveryAction,
}Expand description
Report from recovering a corrupt or partially-written shard file.
Fields§
§shard_path: PathBufPath to the shard that was recovered.
events_preserved: usizeNumber of valid events preserved.
events_discarded: usizeNumber of corrupt/invalid events discarded.
corruption_offset: Option<u64>Byte offset where corruption was detected (if applicable).
action_taken: RecoveryActionWhat action was taken.
Trait Implementations§
Source§impl Clone for RecoveryReport
impl Clone for RecoveryReport
Source§fn clone(&self) -> RecoveryReport
fn clone(&self) -> RecoveryReport
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RecoveryReport
impl Debug for RecoveryReport
Source§impl PartialEq for RecoveryReport
impl PartialEq for RecoveryReport
impl Eq for RecoveryReport
impl StructuralPartialEq for RecoveryReport
Auto Trait Implementations§
impl Freeze for RecoveryReport
impl RefUnwindSafe for RecoveryReport
impl Send for RecoveryReport
impl Sync for RecoveryReport
impl Unpin for RecoveryReport
impl UnsafeUnpin for RecoveryReport
impl UnwindSafe for RecoveryReport
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,
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§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.