#[non_exhaustive]pub struct AcquisitionProgress {
pub source_size: u64,
pub bytes_written: u64,
pub checkpoint_bytes: u64,
pub sealed_segments: usize,
pub substituted_sectors: u64,
pub read_attempts: u64,
pub retry_attempts: u64,
pub read_offset: u64,
pub read_error: Option<ErrorKind>,
}Expand description
Source progress delivered synchronously on the acquiring thread.
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.source_size: u64Declared logical source size.
bytes_written: u64Logical bytes accepted, including substitutions and unsealed input.
checkpoint_bytes: u64Logical bytes covered by the last acknowledged checkpoint.
sealed_segments: usizeTotal sealed segment count.
substituted_sectors: u64Total substituted sectors, including those restored by resume.
read_attempts: u64Bulk and sector attempts started during this call, including retries.
retry_attempts: u64Additional sector attempts started during this call.
read_offset: u64Offset of the current or most recent source-read attempt.
read_error: Option<ErrorKind>Most recent read attempt’s error, cleared before a new attempt starts.
Trait Implementations§
Source§impl Clone for AcquisitionProgress
impl Clone for AcquisitionProgress
impl Copy for AcquisitionProgress
Source§impl Debug for AcquisitionProgress
impl Debug for AcquisitionProgress
impl Eq for AcquisitionProgress
Source§impl PartialEq for AcquisitionProgress
impl PartialEq for AcquisitionProgress
impl StructuralPartialEq for AcquisitionProgress
Auto Trait Implementations§
impl Freeze for AcquisitionProgress
impl RefUnwindSafe for AcquisitionProgress
impl Send for AcquisitionProgress
impl Sync for AcquisitionProgress
impl Unpin for AcquisitionProgress
impl UnsafeUnpin for AcquisitionProgress
impl UnwindSafe for AcquisitionProgress
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