pub struct HandshakeReq {
pub from_offset: u64,
pub replica_id: String,
}Expand description
Parsed REPLICATE FROM <from-offset> ID <replica-id> request.
Fields§
§from_offset: u64Offset the replica wants to resume from. 0 = fresh replica.
replica_id: StringReplica-supplied identifier (operator-set, opaque to the primary other than for slot bookkeeping).
Trait Implementations§
Source§impl Clone for HandshakeReq
impl Clone for HandshakeReq
Source§fn clone(&self) -> HandshakeReq
fn clone(&self) -> HandshakeReq
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HandshakeReq
impl Debug for HandshakeReq
impl Eq for HandshakeReq
Source§impl PartialEq for HandshakeReq
impl PartialEq for HandshakeReq
Source§fn eq(&self, other: &HandshakeReq) -> bool
fn eq(&self, other: &HandshakeReq) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for HandshakeReq
Auto Trait Implementations§
impl Freeze for HandshakeReq
impl RefUnwindSafe for HandshakeReq
impl Send for HandshakeReq
impl Sync for HandshakeReq
impl Unpin for HandshakeReq
impl UnsafeUnpin for HandshakeReq
impl UnwindSafe for HandshakeReq
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