pub struct SyncMetrics {
pub passes: u64,
pub failed_passes: u64,
pub last_pass_ms: u64,
pub downloaded_total: u64,
pub uploaded_total: u64,
pub tombstones_applied_total: u64,
pub tombstones_written_total: u64,
pub remote_versions: u64,
pub tombstones: u64,
pub pending_uploads: u64,
pub pending_tombstones: u64,
pub pending_apply: u64,
}Expand description
Cumulative engine counters and current ledger queue sizes, from SyncEngine::metrics.
Queue sizes are the figures that grow resident memory: the ledger keeps one remote
version per record and is serialized in full on every durable write.
Fields§
§passes: u64Passes run since the engine was built (including deferred ones).
failed_passes: u64Passes that ended Failed or Unavailable.
last_pass_ms: u64Wall-clock duration of the most recent pass, in milliseconds.
downloaded_total: u64§uploaded_total: u64§tombstones_applied_total: u64§tombstones_written_total: u64§remote_versions: u64Remote versions cached in the ledger (one per known record).
tombstones: u64Tombstones the ledger blocks re-import of, forever.
pending_uploads: u64§pending_tombstones: u64§pending_apply: u64Downloaded records whose local apply was deferred.
Trait Implementations§
Source§impl Clone for SyncMetrics
impl Clone for SyncMetrics
impl Copy for SyncMetrics
Source§impl Debug for SyncMetrics
impl Debug for SyncMetrics
Source§impl Default for SyncMetrics
impl Default for SyncMetrics
impl Eq for SyncMetrics
Source§impl PartialEq for SyncMetrics
impl PartialEq for SyncMetrics
impl StructuralPartialEq for SyncMetrics
Auto Trait Implementations§
impl Freeze for SyncMetrics
impl RefUnwindSafe for SyncMetrics
impl Send for SyncMetrics
impl Sync for SyncMetrics
impl Unpin for SyncMetrics
impl UnsafeUnpin for SyncMetrics
impl UnwindSafe for SyncMetrics
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