pub struct SyncResult {
pub readings_synced: u64,
pub readings_skipped: u64,
pub readings_held: u64,
pub status_events_synced: u64,
pub full_sync: bool,
pub duration_ms: u64,
pub errors: Vec<String>,
pub log: Vec<String>,
}Expand description
Outcome of one sync cycle. The runner fills full_sync and duration_ms;
a SyncService only reports counts, errors and log lines.
Fields§
§readings_synced: u64§readings_skipped: u64Readings the API refused admission and dropped. Additive: a reader that predates the field must still parse the rest.
readings_held: u64Always 0. The API admits every replicate group and records a disagreement as a review hold (ADR 0002) rather than withholding readings; nothing is re-sent. Kept on the wire for older readers.
status_events_synced: u64§full_sync: bool§duration_ms: u64§errors: Vec<String>§log: Vec<String>Trait Implementations§
Source§impl Debug for SyncResult
impl Debug for SyncResult
Source§impl Default for SyncResult
impl Default for SyncResult
Source§fn default() -> SyncResult
fn default() -> SyncResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SyncResult
impl RefUnwindSafe for SyncResult
impl Send for SyncResult
impl Sync for SyncResult
impl Unpin for SyncResult
impl UnsafeUnpin for SyncResult
impl UnwindSafe for SyncResult
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