pub struct FileDownloadProgress {
pub relative_path: &'static str,
pub downloaded_bytes: u64,
pub total_bytes: Option<u64>,
pub status: FileDownloadStatus,
}Expand description
Per-file download progress (RFC-043 §13.1).
Fields§
§relative_path: &'static str§downloaded_bytes: u64§total_bytes: Option<u64>§status: FileDownloadStatusTrait Implementations§
Source§impl Clone for FileDownloadProgress
impl Clone for FileDownloadProgress
Source§fn clone(&self) -> FileDownloadProgress
fn clone(&self) -> FileDownloadProgress
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 FileDownloadProgress
impl RefUnwindSafe for FileDownloadProgress
impl Send for FileDownloadProgress
impl Sync for FileDownloadProgress
impl Unpin for FileDownloadProgress
impl UnsafeUnpin for FileDownloadProgress
impl UnwindSafe for FileDownloadProgress
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