pub enum CoordinatorServiceResponse {
Register(RpcResult<ShardId>),
Unregister(RpcResult<()>),
PhaseComplete(RpcResult<()>),
RouteDocument(ShardId),
RouteNode(ShardId),
GetGlobalDf(RpcResult<HashMap<String, u64>>),
BarrierReady(RpcResult<bool>),
CurrentTick(u64),
ListShards(Vec<ShardInfo>),
StartTick(RpcResult<u64>),
TickStatus(RpcResult<TickStatus>),
}Expand description
The response sent over the wire from the server to the client.
Variants§
Register(RpcResult<ShardId>)
Unregister(RpcResult<()>)
PhaseComplete(RpcResult<()>)
RouteDocument(ShardId)
RouteNode(ShardId)
GetGlobalDf(RpcResult<HashMap<String, u64>>)
BarrierReady(RpcResult<bool>)
CurrentTick(u64)
ListShards(Vec<ShardInfo>)
StartTick(RpcResult<u64>)
TickStatus(RpcResult<TickStatus>)
Trait Implementations§
Source§impl Debug for CoordinatorServiceResponse
impl Debug for CoordinatorServiceResponse
Source§impl<'de> Deserialize<'de> for CoordinatorServiceResponse
impl<'de> Deserialize<'de> for CoordinatorServiceResponse
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
Auto Trait Implementations§
impl Freeze for CoordinatorServiceResponse
impl RefUnwindSafe for CoordinatorServiceResponse
impl Send for CoordinatorServiceResponse
impl Sync for CoordinatorServiceResponse
impl Unpin for CoordinatorServiceResponse
impl UnsafeUnpin for CoordinatorServiceResponse
impl UnwindSafe for CoordinatorServiceResponse
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