pub struct ReplicaRecord {
pub present: bool,
pub seen: Option<u64>,
pub synced: Option<u64>,
pub received: usize,
pub sent: usize,
pub error: Option<String>,
}Expand description
What the holder of the sync role records of another replica.
Fields§
§present: boolWhether it is on the network now.
seen: Option<u64>When it was last seen on the network.
synced: Option<u64>When it last synced, or tried to.
received: usizeHow many changes that sync brought here.
sent: usizeHow many it sent there.
error: Option<String>Why it failed, if it did.
Trait Implementations§
Source§impl Clone for ReplicaRecord
impl Clone for ReplicaRecord
Source§impl Debug for ReplicaRecord
impl Debug for ReplicaRecord
Source§impl Default for ReplicaRecord
impl Default for ReplicaRecord
impl Eq for ReplicaRecord
Source§impl PartialEq for ReplicaRecord
impl PartialEq for ReplicaRecord
impl StructuralPartialEq for ReplicaRecord
Auto Trait Implementations§
impl Forget for ReplicaRecord
impl Freeze for ReplicaRecord
impl Move for ReplicaRecord
impl RefUnwindSafe for ReplicaRecord
impl Send for ReplicaRecord
impl Sync for ReplicaRecord
impl Unpin for ReplicaRecord
impl UnsafeUnpin for ReplicaRecord
impl UnwindSafe for ReplicaRecord
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<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.