pub enum Progress {
Verifying {
file: String,
},
Downloading {
file: String,
downloaded: u64,
total: u64,
},
Ready {
file: String,
},
}Expand description
What prepare reports as it works.
Variants§
Verifying
Checking a file already on disk. No bytes are transferred.
Downloading
downloaded of total bytes are now on disk for file.
Ready
file is present and verified.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Progress
impl RefUnwindSafe for Progress
impl Send for Progress
impl Sync for Progress
impl Unpin for Progress
impl UnsafeUnpin for Progress
impl UnwindSafe for Progress
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