pub struct FileLoadingProgress {
pub start_time: Instant,
pub cached_size: u64,
pub size: u64,
pub progress: u64,
}Expand description
The progress of a file download
Fields§
§start_time: InstantThe time stamp the download started
cached_size: u64The size of the cached part of the download in bytes
size: u64The size of the download in bytes
progress: u64The progress of the download in bytes, from 0 to size
Trait Implementations§
Source§impl Clone for FileLoadingProgress
impl Clone for FileLoadingProgress
Source§fn clone(&self) -> FileLoadingProgress
fn clone(&self) -> FileLoadingProgress
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 moreAuto Trait Implementations§
impl Freeze for FileLoadingProgress
impl RefUnwindSafe for FileLoadingProgress
impl Send for FileLoadingProgress
impl Sync for FileLoadingProgress
impl Unpin for FileLoadingProgress
impl UnwindSafe for FileLoadingProgress
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