pub enum NodeState {
Current,
Known,
Connected,
Pending,
}Expand description
The different states a node can be in.
Variants§
Current
This node is the local node.
Known
This node information was given to us, but no attempt to connect has been made.
Connected
This node is currently connected.
Pending
This node is pending a connection.
Trait Implementations§
source§impl PartialEq for NodeState
impl PartialEq for NodeState
impl Copy for NodeState
impl Eq for NodeState
impl StructuralPartialEq for NodeState
Auto Trait Implementations§
impl Freeze for NodeState
impl RefUnwindSafe for NodeState
impl Send for NodeState
impl Sync for NodeState
impl Unpin for NodeState
impl UnwindSafe for NodeState
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