Enum tea_sdk::tapp::ra::NodeStatus
pub enum NodeStatus {
Pending,
Active,
}
Variants§
Trait Implementations§
§impl Clone for NodeStatus
impl Clone for NodeStatus
§fn clone(&self) -> NodeStatus
fn clone(&self) -> NodeStatus
Returns a copy 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 more§impl Debug for NodeStatus
impl Debug for NodeStatus
§impl<'de> Deserialize<'de> for NodeStatus
impl<'de> Deserialize<'de> for NodeStatus
§fn deserialize<__D>(
__deserializer: __D
) -> Result<NodeStatus, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>( __deserializer: __D ) -> Result<NodeStatus, <__D as Deserializer<'de>>::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl Display for NodeStatus
impl Display for NodeStatus
§impl FromStr for NodeStatus
impl FromStr for NodeStatus
§type Err = RuntimeTappError
type Err = RuntimeTappError
The associated error which can be returned from parsing.
§fn from_str(s: &str) -> Result<NodeStatus, <NodeStatus as FromStr>::Err>
fn from_str(s: &str) -> Result<NodeStatus, <NodeStatus as FromStr>::Err>
Parses a string
s
to return a value of this type. Read more§impl PartialEq for NodeStatus
impl PartialEq for NodeStatus
§fn eq(&self, other: &NodeStatus) -> bool
fn eq(&self, other: &NodeStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl Serialize for NodeStatus
impl Serialize for NodeStatus
§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>( &self, __serializer: __S ) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where __S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for NodeStatus
impl Eq for NodeStatus
impl StructuralEq for NodeStatus
impl StructuralPartialEq for NodeStatus
Auto Trait Implementations§
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.