pub struct Progress {
pub direction: Direction,
pub file_name: String,
pub file_bytes: u64,
pub file_size: Option<u64>,
pub files_done: usize,
pub files_queued: usize,
pub file_started: Instant,
pub resumed_at: Option<u64>,
}Fields§
§direction: Direction§file_name: String§file_bytes: u64§file_size: Option<u64>§files_done: usize§files_queued: usizeFiles still waiting to be sent (uploads only).
file_started: Instant§resumed_at: Option<u64>Where a resumed download picked up, if it was resumed.
Implementations§
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