pub struct SyncCycleResult {
pub changesets_applied: u64,
pub other_device_count: usize,
pub sync_time: String,
pub asset_downloads_failed: bool,
pub row_changes: Vec<RowChange>,
}Expand description
Result of a single sync cycle.
Fields§
§changesets_applied: u64Number of remote changesets that were applied.
other_device_count: usizeNumber of other devices seen in the sync storage.
sync_time: StringRFC 3339 timestamp of when this cycle completed.
asset_downloads_failed: boolAsset downloads failed — cursor not advanced for those changesets.
row_changes: Vec<RowChange>Row changes from applied changesets, for the host to map to domain events.
Auto Trait Implementations§
impl Freeze for SyncCycleResult
impl RefUnwindSafe for SyncCycleResult
impl Send for SyncCycleResult
impl Sync for SyncCycleResult
impl Unpin for SyncCycleResult
impl UnwindSafe for SyncCycleResult
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
§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.