pub struct SyncPass {
pub uploaded_bytes: usize,
pub uploaded_members: usize,
pub deleted: usize,
pub refused_deletions: usize,
pub full: bool,
pub unchanged: bool,
pub manifest: Manifest,
}Expand description
What one sync pass did.
Fields§
§uploaded_bytes: usizeThe archive’s size, when anything travelled.
uploaded_members: usize§deleted: usizeThe deletions the in-guest rm carried out.
refused_deletions: usizeThe deletions the guest’s manifest ordered that deletable refused.
full: boolNo baseline was given, so the whole tree travelled.
unchanged: boolThe baseline already matched the tree; nothing travelled at all.
manifest: ManifestThe tree as this pass left it in the guest: the next pass’s baseline.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SyncPass
impl RefUnwindSafe for SyncPass
impl Send for SyncPass
impl Sync for SyncPass
impl Unpin for SyncPass
impl UnsafeUnpin for SyncPass
impl UnwindSafe for SyncPass
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> 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 moreCreates a shared type from an unshared type.