pub enum ReplicaMessage<'a> {
HistoryRetired(HistoryRetired),
Checkpoint(CheckpointMessage<'a>),
Recovery(RecoveryMessage),
Flow(FlowMessage<'a>),
Control(Control),
Prepare(PrepareBatch<'a>),
FetchOps(FetchOps),
Ops(OpsBatch<'a>),
}Expand description
Decoded replica command, still subject to role/history checks in the core.
Variants§
HistoryRetired(HistoryRetired)
Receiver-fenced hint to enter nonvoting recovery, never new authority.
Checkpoint(CheckpointMessage<'a>)
Checkpoint state bytes for a separately authorized nonvoting recovery.
Recovery(RecoveryMessage)
Fresh lost-state evidence, neither receipt credit nor a normal/election vote.
Flow(FlowMessage<'a>)
Receipt/credit exchange or epoch-bound data; never durable quorum evidence.
Control(Control)
Fixed-size quorum/control evidence from the bound sender.
Prepare(PrepareBatch<'a>)
Hash-validated canonical bytes, still requiring application validation.
FetchOps(FetchOps)
Correlated bounded request for an independently pinned source lineage.
Ops(OpsBatch<'a>)
Hash-validated response bytes, not a normal prepare or commit announcement.
Trait Implementations§
Source§impl<'a> Clone for ReplicaMessage<'a>
impl<'a> Clone for ReplicaMessage<'a>
impl<'a> Copy for ReplicaMessage<'a>
Source§impl<'a> Debug for ReplicaMessage<'a>
impl<'a> Debug for ReplicaMessage<'a>
impl<'a> Eq for ReplicaMessage<'a>
Source§impl<'a> PartialEq for ReplicaMessage<'a>
impl<'a> PartialEq for ReplicaMessage<'a>
impl<'a> StructuralPartialEq for ReplicaMessage<'a>
Auto Trait Implementations§
impl<'a> Freeze for ReplicaMessage<'a>
impl<'a> RefUnwindSafe for ReplicaMessage<'a>
impl<'a> Send for ReplicaMessage<'a>
impl<'a> Sync for ReplicaMessage<'a>
impl<'a> Unpin for ReplicaMessage<'a>
impl<'a> UnsafeUnpin for ReplicaMessage<'a>
impl<'a> UnwindSafe for ReplicaMessage<'a>
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