pub enum ResolveMachineReply {
ResolveMachineResult {
found: bool,
address: Option<SocketAddr>,
},
}Expand description
Reply to CoordinatorRequest::ResolveMachine — sent by the coordinator
to the requesting daemon over the same request/response channel used for
RegisterResult.
Variants§
ResolveMachineResult
Reply to CoordinatorRequest::ResolveMachine.
Fields
§
address: Option<SocketAddr>The target daemon’s WS peer address as seen by the coordinator (set at registration). Used by the memory-pool direct-TCP data plane to reach the mirror daemon’s data listener.
Trait Implementations§
Source§impl Clone for ResolveMachineReply
impl Clone for ResolveMachineReply
Source§fn clone(&self) -> ResolveMachineReply
fn clone(&self) -> ResolveMachineReply
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 ResolveMachineReply
impl Debug for ResolveMachineReply
Source§impl<'de> Deserialize<'de> for ResolveMachineReply
impl<'de> Deserialize<'de> for ResolveMachineReply
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 ResolveMachineReply
impl RefUnwindSafe for ResolveMachineReply
impl Send for ResolveMachineReply
impl Sync for ResolveMachineReply
impl Unpin for ResolveMachineReply
impl UnsafeUnpin for ResolveMachineReply
impl UnwindSafe for ResolveMachineReply
Blanket Implementations§
impl<T> Allocation for T
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