pub enum DownloadStep {
Received {
bytes: u64,
total: Option<u64>,
},
Opening,
}Expand description
What VectorCore::download_attachment_reporting is doing, as it happens.
Variants§
Received
Ciphertext received so far from the current source, and the length it declared. A source that fails over starts the count again.
Opening
Every byte is in; it is being decrypted, or checked against its hash.
Trait Implementations§
Source§impl Clone for DownloadStep
impl Clone for DownloadStep
impl Copy for DownloadStep
Auto Trait Implementations§
impl Forget for DownloadStep
impl Freeze for DownloadStep
impl Move for DownloadStep
impl RefUnwindSafe for DownloadStep
impl Send for DownloadStep
impl Sync for DownloadStep
impl Unpin for DownloadStep
impl UnsafeUnpin for DownloadStep
impl UnwindSafe for DownloadStep
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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