pub struct LayerProgressUpdate {
pub digest: String,
pub sent_bytes: u64,
pub total_bytes: u64,
pub elapsed: Duration,
pub speed_mbps: f64,
pub eta_seconds: Option<f64>,
}Fields§
§digest: String§sent_bytes: u64§total_bytes: u64§elapsed: Duration§speed_mbps: f64§eta_seconds: Option<f64>Trait Implementations§
Source§impl Clone for LayerProgressUpdate
impl Clone for LayerProgressUpdate
Auto Trait Implementations§
impl Freeze for LayerProgressUpdate
impl RefUnwindSafe for LayerProgressUpdate
impl Send for LayerProgressUpdate
impl Sync for LayerProgressUpdate
impl Unpin for LayerProgressUpdate
impl UnsafeUnpin for LayerProgressUpdate
impl UnwindSafe for LayerProgressUpdate
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