Struct viewstamped_replication::model::DoViewChange
source · pub struct DoViewChange {
pub l: Vec<LogEntry>,
pub k: OpNumber,
}Fields§
§l: Vec<LogEntry>The log of the replica.
k: OpNumberThe op-number of the latest committed request known to the replica.
Trait Implementations§
source§impl Clone for DoViewChange
impl Clone for DoViewChange
source§fn clone(&self) -> DoViewChange
fn clone(&self) -> DoViewChange
Returns a copy 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 moresource§impl Debug for DoViewChange
impl Debug for DoViewChange
source§impl From<DoViewChange> for Payload
impl From<DoViewChange> for Payload
source§fn from(value: DoViewChange) -> Self
fn from(value: DoViewChange) -> Self
Converts to this type from the input type.
source§impl PartialEq for DoViewChange
impl PartialEq for DoViewChange
source§fn eq(&self, other: &DoViewChange) -> bool
fn eq(&self, other: &DoViewChange) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<Payload> for DoViewChange
impl TryFrom<Payload> for DoViewChange
impl Eq for DoViewChange
impl StructuralPartialEq for DoViewChange
Auto Trait Implementations§
impl RefUnwindSafe for DoViewChange
impl Send for DoViewChange
impl Sync for DoViewChange
impl Unpin for DoViewChange
impl UnwindSafe for DoViewChange
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