Struct solana_download_utils::DownloadProgressRecord [−][src]
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
pub default fn example() -> T
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more