pub enum NodeStatus {
Online,
Offline,
Connecting,
Disconnecting,
Maintenance,
Degraded,
}
Expand description
Node status
Variantsยง
Online
Node is online and active
Offline
Node is offline
Connecting
Node is connecting
Disconnecting
Node is disconnecting
Maintenance
Node is under maintenance
Degraded
Node is experiencing issues
Trait Implementationsยง
Sourceยงimpl Clone for NodeStatus
impl Clone for NodeStatus
Sourceยงfn clone(&self) -> NodeStatus
fn clone(&self) -> NodeStatus
Returns a duplicate of the value. Read more
1.0.0 ยท 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 NodeStatus
impl Debug for NodeStatus
Sourceยงimpl<'de> Deserialize<'de> for NodeStatus
impl<'de> Deserialize<'de> for NodeStatus
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
Sourceยงimpl PartialEq for NodeStatus
impl PartialEq for NodeStatus
Sourceยงimpl Serialize for NodeStatus
impl Serialize for NodeStatus
impl StructuralPartialEq for NodeStatus
Auto Trait Implementationsยง
impl Freeze for NodeStatus
impl RefUnwindSafe for NodeStatus
impl Send for NodeStatus
impl Sync for NodeStatus
impl Unpin for NodeStatus
impl UnwindSafe for NodeStatus
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