pub enum AntiEntropyMessage<D> {
Delta {
from: ReplicaId,
to: ReplicaId,
delta: D,
seq: SeqNo,
},
Ack {
from: ReplicaId,
to: ReplicaId,
seq: SeqNo,
},
}Expand description
Message types for the anti-entropy protocol
Variants§
Delta
Delta message: contains delta, source, destination and sequence number
Ack
Acknowledgment message: from -> to acknowledges seq
Trait Implementations§
Source§impl<D: Clone> Clone for AntiEntropyMessage<D>
impl<D: Clone> Clone for AntiEntropyMessage<D>
Source§fn clone(&self) -> AntiEntropyMessage<D>
fn clone(&self) -> AntiEntropyMessage<D>
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 moreAuto Trait Implementations§
impl<D> Freeze for AntiEntropyMessage<D>where
D: Freeze,
impl<D> RefUnwindSafe for AntiEntropyMessage<D>where
D: RefUnwindSafe,
impl<D> Send for AntiEntropyMessage<D>where
D: Send,
impl<D> Sync for AntiEntropyMessage<D>where
D: Sync,
impl<D> Unpin for AntiEntropyMessage<D>where
D: Unpin,
impl<D> UnwindSafe for AntiEntropyMessage<D>where
D: UnwindSafe,
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