pub struct SyncProgress {
pub step: SyncStep,
pub dupes_written: u64,
pub dupes_total: u64,
pub parents_marked: u64,
pub parents_total: u64,
pub children_marked: u64,
pub children_total: u64,
pub started_at: u64,
pub completed_at: u64,
}Expand description
Sync progress state - tracks where we are in the sync process
Fields§
§step: SyncStepCurrent step in the sync process
dupes_written: u64Number of dupes already written
dupes_total: u64Total dupes to write
parents_marked: u64Number of parents already marked
parents_total: u64Total parents to mark
children_marked: u64Number of children already marked
children_total: u64Total children to mark
started_at: u64Timestamp when sync started (Unix timestamp)
completed_at: u64Timestamp when sync completed (Unix timestamp, 0 if not completed)
Trait Implementations§
Source§impl Clone for SyncProgress
impl Clone for SyncProgress
Auto Trait Implementations§
impl Forget for SyncProgress
impl Freeze for SyncProgress
impl Move for SyncProgress
impl RefUnwindSafe for SyncProgress
impl Send for SyncProgress
impl Sync for SyncProgress
impl Unpin for SyncProgress
impl UnsafeUnpin for SyncProgress
impl UnwindSafe for SyncProgress
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more