pub struct StartSyncRequest {
pub doc_id: NamespaceId,
pub peers: Vec<NodeAddr>,
}
Available on crate feature
rpc
only.Expand description
Start to sync a doc with peers.
Fields§
§doc_id: NamespaceId
The document id
peers: Vec<NodeAddr>
List of peers to join
Trait Implementations§
Source§impl Debug for StartSyncRequest
impl Debug for StartSyncRequest
Source§impl<'de> Deserialize<'de> for StartSyncRequest
impl<'de> Deserialize<'de> for StartSyncRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<StartSyncRequest> for Request
impl From<StartSyncRequest> for Request
Source§fn from(value: StartSyncRequest) -> Self
fn from(value: StartSyncRequest) -> Self
Converts to this type from the input type.
Source§impl RpcMsg<RpcService> for StartSyncRequest
impl RpcMsg<RpcService> for StartSyncRequest
Source§impl Serialize for StartSyncRequest
impl Serialize for StartSyncRequest
Source§impl<'a> TryFrom<&'a Request> for &'a StartSyncRequest
impl<'a> TryFrom<&'a Request> for &'a StartSyncRequest
Auto Trait Implementations§
impl Freeze for StartSyncRequest
impl RefUnwindSafe for StartSyncRequest
impl Send for StartSyncRequest
impl Sync for StartSyncRequest
impl Unpin for StartSyncRequest
impl UnwindSafe for StartSyncRequest
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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