Struct viewstamped_replication::replica::NonVolatileState
source · pub struct NonVolatileState { /* private fields */ }Implementations§
source§impl NonVolatileState
impl NonVolatileState
pub fn new(identifier: ReplicaIdentifier, view: View) -> Self
pub fn identifier(&self) -> ReplicaIdentifier
pub fn view(&self) -> View
pub fn status(&self) -> Status
Trait Implementations§
source§impl Clone for NonVolatileState
impl Clone for NonVolatileState
source§fn clone(&self) -> NonVolatileState
fn clone(&self) -> NonVolatileState
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 NonVolatileState
impl Debug for NonVolatileState
source§impl From<ReplicaIdentifier> for NonVolatileState
impl From<ReplicaIdentifier> for NonVolatileState
source§fn from(identifier: ReplicaIdentifier) -> Self
fn from(identifier: ReplicaIdentifier) -> Self
Converts to this type from the input type.
source§impl PartialEq for NonVolatileState
impl PartialEq for NonVolatileState
source§fn eq(&self, other: &NonVolatileState) -> bool
fn eq(&self, other: &NonVolatileState) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for NonVolatileState
impl Eq for NonVolatileState
impl StructuralPartialEq for NonVolatileState
Auto Trait Implementations§
impl RefUnwindSafe for NonVolatileState
impl Send for NonVolatileState
impl Sync for NonVolatileState
impl Unpin for NonVolatileState
impl UnwindSafe for NonVolatileState
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