pub enum Control {
PrepareOk {
ack: PrepareOk,
},
Commit(Commit),
ExitView(Scope),
StartViewChange(StartViewChange),
DoViewChange(DoViewChange),
StartView(StartView),
}Expand description
Fixed-size replica control metadata. Receipt alone has no authority.
Variants§
PrepareOk
Cumulative durable backup evidence plus its current session fence.
Commit(Commit)
Primary’s cumulative commit announcement or idle heartbeat.
ExitView(Scope)
Volatile suspicion about this current view, not a durable promise or vote.
StartViewChange(StartViewChange)
First election phase, emitted after the sender’s durable view promise.
DoViewChange(DoViewChange)
Frozen full-WAL descriptor for the candidate’s second-phase quorum.
StartView(StartView)
Primary’s durably installed selected lineage, not a backup installation.
Implementations§
Trait Implementations§
impl Copy for Control
impl Eq for Control
impl StructuralPartialEq for Control
Auto Trait Implementations§
impl Freeze for Control
impl RefUnwindSafe for Control
impl Send for Control
impl Sync for Control
impl Unpin for Control
impl UnsafeUnpin for Control
impl UnwindSafe for Control
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