#[repr(C)]pub struct C4Progress {
pub unitsCompleted: u64,
pub unitsTotal: u64,
pub documentCount: u64,
}Expand description
Represents the current progress of a replicator.
The units fields should not be used directly, but divided (unitsCompleted/unitsTotal)
to give a very approximate progress fraction.
Fields§
§unitsCompleted: u64< Abstract number of work units completed so far
unitsTotal: u64< Total number of work units (a very rough approximation)
documentCount: u64< Number of documents transferred so far
Trait Implementations§
Source§impl Clone for C4Progress
impl Clone for C4Progress
Source§fn clone(&self) -> C4Progress
fn clone(&self) -> C4Progress
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for C4Progress
impl Debug for C4Progress
impl Copy for C4Progress
Auto Trait Implementations§
impl Freeze for C4Progress
impl RefUnwindSafe for C4Progress
impl Send for C4Progress
impl Sync for C4Progress
impl Unpin for C4Progress
impl UnwindSafe for C4Progress
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