Struct viewstamped_replication::model::Prepare
source · pub struct Prepare {
pub n: OpNumber,
pub m: LogEntry,
pub k: OpNumber,
}Fields§
§n: OpNumberThe op-number assigned to the request.
m: LogEntryThe message received from the client along with a prediction for supporting non-deterministic behavior.
k: OpNumberThe op-number of the last committed log entry.
Trait Implementations§
source§impl PartialEq for Prepare
impl PartialEq for Prepare
impl Eq for Prepare
impl StructuralPartialEq for Prepare
Auto Trait Implementations§
impl RefUnwindSafe for Prepare
impl Send for Prepare
impl Sync for Prepare
impl Unpin for Prepare
impl UnwindSafe for Prepare
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