pub struct ClosedSyncStatus {
pub sync: SyncStatus,
pub unsent: UnsentWork,
}Expand description
A closed store’s sync status, as Coven::closed_sync_status reads it
(E1): the state opening shows before sync starts, and what deleting the
store would lose. A queued write or file waits to sync with NotSyncing,
as sync isn’t running; unsent counts them.
Fields§
§sync: SyncStatusThe sync state and the last synced time.
unsent: UnsentWorkThe writes and files this device committed and has not uploaded.
Trait Implementations§
Source§impl Clone for ClosedSyncStatus
impl Clone for ClosedSyncStatus
Source§fn clone(&self) -> ClosedSyncStatus
fn clone(&self) -> ClosedSyncStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ClosedSyncStatus
impl Debug for ClosedSyncStatus
Source§impl PartialEq for ClosedSyncStatus
impl PartialEq for ClosedSyncStatus
impl StructuralPartialEq for ClosedSyncStatus
Auto Trait Implementations§
impl Freeze for ClosedSyncStatus
impl !RefUnwindSafe for ClosedSyncStatus
impl Send for ClosedSyncStatus
impl Sync for ClosedSyncStatus
impl Unpin for ClosedSyncStatus
impl UnsafeUnpin for ClosedSyncStatus
impl !UnwindSafe for ClosedSyncStatus
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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.