pub struct WaitingNode {
pub description: Option<NodeDescription>,
pub endpoint: Option<EndpointDescription>,
pub error: Option<WaitErrorMessage>,
}Available on crate feature
connect-server only.Expand description
What an endpoint knows about one node that is waiting to be told what to do.
Fields§
§description: Option<NodeDescription>The node’s own description, once it has sent one.
Absent until the endpoint asks with WaitAction::SendNodeDescription: a node
merely checking in should not describe itself every twenty-five seconds.
endpoint: Option<EndpointDescription>Where it is.
error: Option<WaitErrorMessage>Why it says it cannot proceed, if it said so.
Trait Implementations§
Source§impl Clone for WaitingNode
impl Clone for WaitingNode
Source§impl Debug for WaitingNode
impl Debug for WaitingNode
Auto Trait Implementations§
impl Forget for WaitingNode
impl Freeze for WaitingNode
impl Move for WaitingNode
impl RefUnwindSafe for WaitingNode
impl Send for WaitingNode
impl Sync for WaitingNode
impl Unpin for WaitingNode
impl UnsafeUnpin for WaitingNode
impl UnwindSafe for WaitingNode
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