Struct viewstamped_replication::Client
source · pub struct Client { /* private fields */ }Implementations§
source§impl Client
impl Client
pub fn new(configuration: Vec<SocketAddr>, id: u128) -> Self
pub fn new_request(&mut self, payload: Vec<u8>) -> (SocketAddr, Request)
pub fn update(&mut self, message: &Message)
Auto Trait Implementations§
impl RefUnwindSafe for Client
impl Send for Client
impl Sync for Client
impl Unpin for Client
impl UnwindSafe for Client
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