pub struct ReplicationReceipt {
pub peer: String,
pub objects_sent: u64,
pub bytes_sent: u64,
pub from_generation: u64,
pub to_generation: u64,
}Expand description
What a completed replication transaction reports.
Counts of things that actually moved — objects and bytes — and the watermark the next transaction should start from. Nothing about indexes: none travelled.
Fields§
§peer: String§objects_sent: u64Objects sent. Zero is a legitimate, successful outcome: the peer was already current.
bytes_sent: u64Stored bytes sent, as stored — a delta chunk counts as its delta.
from_generation: u64The watermark this transaction started from.
to_generation: u64The watermark to pass as from_generation next time.
Trait Implementations§
Source§impl Clone for ReplicationReceipt
impl Clone for ReplicationReceipt
Source§fn clone(&self) -> ReplicationReceipt
fn clone(&self) -> ReplicationReceipt
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ReplicationReceipt
impl Debug for ReplicationReceipt
impl Eq for ReplicationReceipt
Source§impl PartialEq for ReplicationReceipt
impl PartialEq for ReplicationReceipt
impl StructuralPartialEq for ReplicationReceipt
Auto Trait Implementations§
impl Freeze for ReplicationReceipt
impl RefUnwindSafe for ReplicationReceipt
impl Send for ReplicationReceipt
impl Sync for ReplicationReceipt
impl Unpin for ReplicationReceipt
impl UnsafeUnpin for ReplicationReceipt
impl UnwindSafe for ReplicationReceipt
Blanket Implementations§
impl<T> Allocation for T
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.