Enum iroh_blobs::store::ExportProgress
source · pub enum ExportProgress {
Start {
id: u64,
hash: Hash,
path: PathBuf,
stable: bool,
},
Progress {
id: u64,
offset: u64,
},
Done {
id: u64,
},
}
Variants§
Start
Starting to export to a file
This will be the first message for an id
Progress
Progress when copying the file to the target
This will be omitted if the store can move the file or use copy on write
There will be multiple of these messages for an id
Done
Done exporting
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExportProgress
impl RefUnwindSafe for ExportProgress
impl Send for ExportProgress
impl Sync for ExportProgress
impl Unpin for ExportProgress
impl UnwindSafe for ExportProgress
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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