pub struct InstallSnapshotResponse {
pub term: Term,
}Expand description
InstallSnapshot RPC response
Fields§
§term: TermCurrent term of the responding node, for leader to update itself
Implementations§
Trait Implementations§
Source§impl Clone for InstallSnapshotResponse
impl Clone for InstallSnapshotResponse
Source§fn clone(&self) -> InstallSnapshotResponse
fn clone(&self) -> InstallSnapshotResponse
Returns a duplicate 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 InstallSnapshotResponse
impl Debug for InstallSnapshotResponse
Source§impl PartialEq for InstallSnapshotResponse
impl PartialEq for InstallSnapshotResponse
impl Eq for InstallSnapshotResponse
impl StructuralPartialEq for InstallSnapshotResponse
Auto Trait Implementations§
impl Freeze for InstallSnapshotResponse
impl RefUnwindSafe for InstallSnapshotResponse
impl Send for InstallSnapshotResponse
impl Sync for InstallSnapshotResponse
impl Unpin for InstallSnapshotResponse
impl UnsafeUnpin for InstallSnapshotResponse
impl UnwindSafe for InstallSnapshotResponse
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