pub struct PullResult {
pub changesets_applied: u64,
pub devices_pulled: u64,
pub asset_downloads_failed: bool,
pub skipped_schema: u64,
pub remote_heads: Vec<DeviceHead>,
pub row_changes: Vec<RowChange>,
}Expand description
Summary of a pull operation.
Fields§
§changesets_applied: u64Total changesets successfully applied.
devices_pulled: u64Number of distinct remote devices we pulled from.
asset_downloads_failed: boolAsset downloads failed — cursor not advanced, will retry next cycle.
skipped_schema: u64Changesets skipped due to schema version being newer than ours.
remote_heads: Vec<DeviceHead>All device heads fetched during this pull (including our own). Used by the sync status UI to show other devices’ activity.
row_changes: Vec<RowChange>Row changes from all applied changesets, for the host to map to domain events. Empty if nothing was applied.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PullResult
impl RefUnwindSafe for PullResult
impl Send for PullResult
impl Sync for PullResult
impl Unpin for PullResult
impl UnwindSafe for PullResult
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.