#[repr(u32)]pub enum NodeState {
Error = 0,
Creating = 1,
Suspended = 2,
Idle = 3,
Running = 4,
}Expand description
Represents the current state of a node.
Variants§
Error = 0
Node is in an error state.
Creating = 1
Node is being created.
Suspended = 2
Node is suspended.
Idle = 3
Node is running, but no port is active.
Running = 4
Node is running.
Trait Implementations§
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