[−][src]Struct iredismodule::cluster::ClusterNodeInfo
Cluster node info
Fields
ip: Option<String>
master_id: Option<String>
port: Option<i32>
flags: Option<i32>
The list of flags reported is the following:
- REDISMODULE_NODE_MYSELF This node
- REDISMODULE_NODE_MASTER The node is a master
- REDISMODULE_NODE_SLAVE The node is a replica
- REDISMODULE_NODE_PFAIL We see the node as failing
- REDISMODULE_NODE_FAIL The cluster agrees the node is failing
- REDISMODULE_NODE_NOFAILOVER The slave is configured to never failover
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ClusterNodeInfo
impl Send for ClusterNodeInfo
impl Sync for ClusterNodeInfo
impl Unpin for ClusterNodeInfo
impl UnwindSafe for ClusterNodeInfo
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,