pub struct SyncStatus {
pub metrics: SyncMetrics,
pub process: Option<ProcessUsage>,
}Expand description
Runtime figures of the engine, computed on call by SyncEngine::status.
Fields§
§metrics: SyncMetricsPass counters and the ledger queue sizes (pending_*, remote_versions).
process: Option<ProcessUsage>Resident memory, CPU time and I/O counters of the whole process (the engine runs in it and
has no thread of its own), or None when the host cannot report them. See
rightkit_child_process::ProcessUsage.
Trait Implementations§
Source§impl Clone for SyncStatus
impl Clone for SyncStatus
impl Copy for SyncStatus
Source§impl Debug for SyncStatus
impl Debug for SyncStatus
Source§impl PartialEq for SyncStatus
impl PartialEq for SyncStatus
impl StructuralPartialEq for SyncStatus
Auto Trait Implementations§
impl Forget for SyncStatus
impl Freeze for SyncStatus
impl Move for SyncStatus
impl RefUnwindSafe for SyncStatus
impl Send for SyncStatus
impl Sync for SyncStatus
impl Unpin for SyncStatus
impl UnsafeUnpin for SyncStatus
impl UnwindSafe for SyncStatus
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