pub enum AddNodeStatus {
Ready,
NodeFound,
AddingEndNode {
node: NodeId,
info: NodeInfo,
},
AddingController {
node: NodeId,
info: NodeInfo,
},
ProtocolDone,
Done {
node: NodeId,
},
Failed,
Other(u8),
}Expand description
Progress of an inclusion (ADD_NODE_TO_NETWORK callbacks).
Variants§
Ready
The controller is in inclusion mode.
NodeFound
A node answered.
AddingEndNode
An end node is being added; its id and node information.
AddingController
A controller is being added.
ProtocolDone
The protocol part is done; send Stop.
Done
Inclusion finished.
Failed
Inclusion failed.
Other(u8)
Another status.
Implementations§
Trait Implementations§
Source§impl Clone for AddNodeStatus
impl Clone for AddNodeStatus
Source§impl Debug for AddNodeStatus
impl Debug for AddNodeStatus
impl Eq for AddNodeStatus
Source§impl PartialEq for AddNodeStatus
impl PartialEq for AddNodeStatus
impl StructuralPartialEq for AddNodeStatus
Auto Trait Implementations§
impl Freeze for AddNodeStatus
impl RefUnwindSafe for AddNodeStatus
impl Send for AddNodeStatus
impl Sync for AddNodeStatus
impl Unpin for AddNodeStatus
impl UnsafeUnpin for AddNodeStatus
impl UnwindSafe for AddNodeStatus
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