Struct ostree_ext::container::store::LayerProgress
source · pub struct LayerProgress {
pub layer_index: usize,
pub fetched: u64,
pub total: u64,
}Expand description
Sent across a channel to track the byte-level progress of a layer fetch.
Fields§
§layer_index: usizeIndex of the layer in the manifest
fetched: u64Number of bytes downloaded
total: u64Total number of bytes outstanding
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for LayerProgress
impl Send for LayerProgress
impl Sync for LayerProgress
impl Unpin for LayerProgress
impl UnwindSafe for LayerProgress
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