Struct viewstamped_replication::model::RecoveryResponse
source · pub struct RecoveryResponse {
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 RecoveryResponse
impl Clone for RecoveryResponse
source§fn clone(&self) -> RecoveryResponse
fn clone(&self) -> RecoveryResponse
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 RecoveryResponse
impl Debug for RecoveryResponse
source§impl From<RecoveryResponse> for Payload
impl From<RecoveryResponse> for Payload
source§fn from(value: RecoveryResponse) -> Self
fn from(value: RecoveryResponse) -> Self
Converts to this type from the input type.
source§impl PartialEq for RecoveryResponse
impl PartialEq for RecoveryResponse
source§fn eq(&self, other: &RecoveryResponse) -> bool
fn eq(&self, other: &RecoveryResponse) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl TryFrom<Payload> for RecoveryResponse
impl TryFrom<Payload> for RecoveryResponse
impl Eq for RecoveryResponse
impl StructuralPartialEq for RecoveryResponse
Auto Trait Implementations§
impl RefUnwindSafe for RecoveryResponse
impl Send for RecoveryResponse
impl Sync for RecoveryResponse
impl Unpin for RecoveryResponse
impl UnwindSafe for RecoveryResponse
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