Enum ipfs_embed::SyncEvent
source · [−]Expand description
An event of a sync query.
Variants
Progress
Fields
missing: usize
Signals that the sync query made progress and counts the amount of subtrees to sync. If it is syncing a linked list, it will always be 1.
Complete(Result<()>)
Signals completion of the sync query and if it was completed successfully.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for SyncEvent
impl Send for SyncEvent
impl Sync for SyncEvent
impl Unpin for SyncEvent
impl !UnwindSafe for SyncEvent
Blanket Implementations
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