#[non_exhaustive]pub struct RecoveryReport {
pub logical_size: u64,
pub chunks_total: u64,
pub chunks_primary: u64,
pub chunks_redundant: u64,
pub chunks_zero_filled: u64,
pub chunks_checksum_suspect: u64,
pub bytes_recovered: u64,
pub bytes_zero_filled: u64,
pub ranges: Vec<RecoveryRange>,
pub omitted_chunk_records: u64,
pub notices: Vec<RecoveryNotice>,
pub omitted_notices: u64,
}Expand description
Completed recovery accounting. Recovery does not establish image authenticity.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.logical_size: u64Declared output size.
chunks_total: u64Total output chunks.
chunks_primary: u64Chunks from the primary table, including explicitly retained suspect data.
chunks_redundant: u64Chunks from the redundant table, including explicitly retained suspect data.
chunks_zero_filled: u64Chunks replaced with zeros.
chunks_checksum_suspect: u64Subset of primary/redundant chunks retained despite checksum failures.
bytes_recovered: u64Bytes read from evidence, including explicitly retained suspect data.
bytes_zero_filled: u64Bytes substituted with zeros.
ranges: Vec<RecoveryRange>Bounded, coalesced outcome records.
omitted_chunk_records: u64Chunks whose outcome records were omitted due to the retention limit.
notices: Vec<RecoveryNotice>Bounded structural notices from opening.
omitted_notices: u64Number of omitted structural notices.
Trait Implementations§
Source§impl Clone for RecoveryReport
impl Clone for RecoveryReport
Source§impl Debug for RecoveryReport
impl Debug for RecoveryReport
impl Eq for RecoveryReport
Source§impl PartialEq for RecoveryReport
impl PartialEq for RecoveryReport
Source§impl Serialize for RecoveryReport
impl Serialize 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<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more