pub struct ProgressStatus {
pub total_file_bytes: u64,
pub total_transferred_bytes: u64,
}
Available on crate feature
fs
only.Expand description
Progress status used in ProgressCallback
.
Fields§
§total_file_bytes: u64
Total size in bytes of the file being transferred.
total_transferred_bytes: u64
Total bytes completed in the current file transfer.
Trait Implementations§
Source§impl Clone for ProgressStatus
impl Clone for ProgressStatus
Source§fn clone(&self) -> ProgressStatus
fn clone(&self) -> ProgressStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ProgressStatus
impl Debug for ProgressStatus
impl Copy for ProgressStatus
Auto Trait Implementations§
impl Freeze for ProgressStatus
impl RefUnwindSafe for ProgressStatus
impl Send for ProgressStatus
impl Sync for ProgressStatus
impl Unpin for ProgressStatus
impl UnwindSafe for ProgressStatus
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