pub struct DownloadProgressRecord {
pub elapsed_time: Duration,
pub last_elapsed_time: Duration,
pub last_throughput: f32,
pub total_throughput: f32,
pub total_bytes: usize,
pub current_bytes: usize,
pub percentage_done: f32,
pub estimated_remaining_time: f32,
pub notification_count: u64,
}
Expand description
Structure modeling information about download progress
Fields
elapsed_time: Duration
last_elapsed_time: Duration
last_throughput: f32
total_throughput: f32
total_bytes: usize
current_bytes: usize
percentage_done: f32
estimated_remaining_time: f32
notification_count: u64
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DownloadProgressRecord
impl Send for DownloadProgressRecord
impl Sync for DownloadProgressRecord
impl Unpin for DownloadProgressRecord
impl UnwindSafe for DownloadProgressRecord
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
default fn example() -> T
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more