#[non_exhaustive]pub struct AcquisitionCheckpoint {
pub source_size: u64,
pub checkpoint_bytes: u64,
pub chunk_size: u64,
pub sealed_segments: usize,
pub stored_bytes: u64,
pub ready_to_finish: bool,
pub publication_started: bool,
pub segment_hashes_validated: bool,
pub acquisition_errors: Vec<AcquisitionError>,
pub substituted_sectors: u64,
}Expand description
Snapshot of a stopped acquisition.
Inspection never cleans scratch files, rewrites records, rehashes media, or publishes output. It takes the same output lock as a writer; close an active writer first or use its live getters.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.source_size: u64Declared full source size.
checkpoint_bytes: u64Offset at which source input must continue after resume.
chunk_size: u64Logical bytes per chunk.
sealed_segments: usizeNumber of sealed native segments.
stored_bytes: u64Combined encoded size of sealed segments, excluding scratch and records.
ready_to_finish: boolAll declared source bytes are sealed and the final EWF marker is present.
publication_started: boolPublication has started; some output links may already exist.
segment_hashes_validated: boolEvery sealed file was checked against its recorded SHA256 in this call.
False for metadata-only inspection; true for validate_checkpoint.
acquisition_errors: Vec<AcquisitionError>Normalized substituted-sector ranges wholly inside the sealed prefix.
substituted_sectors: u64Number of substituted sectors in the sealed prefix.
Trait Implementations§
Source§impl Clone for AcquisitionCheckpoint
impl Clone for AcquisitionCheckpoint
Source§impl Debug for AcquisitionCheckpoint
impl Debug for AcquisitionCheckpoint
impl Eq for AcquisitionCheckpoint
Source§impl PartialEq for AcquisitionCheckpoint
impl PartialEq for AcquisitionCheckpoint
impl StructuralPartialEq for AcquisitionCheckpoint
Auto Trait Implementations§
impl Freeze for AcquisitionCheckpoint
impl RefUnwindSafe for AcquisitionCheckpoint
impl Send for AcquisitionCheckpoint
impl Sync for AcquisitionCheckpoint
impl Unpin for AcquisitionCheckpoint
impl UnsafeUnpin for AcquisitionCheckpoint
impl UnwindSafe for AcquisitionCheckpoint
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
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> ⓘ
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> ⓘ
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