pub enum NodeMessageType {
Show 15 variants
Successs,
WrongNetworkId,
Unknown,
NodeId,
NextPort,
GroupList,
GroupData,
Error,
NodeList,
NodeListHash,
JoinRequest,
AcceptanceGroup,
NewMembersNextPort,
Ping,
Gossip,
}Variants§
Successs
WrongNetworkId
Unknown
NodeId
NextPort
GroupList
GroupData
Error
NodeList
NodeListHash
JoinRequest
AcceptanceGroup
NewMembersNextPort
Ping
Gossip
Trait Implementations§
Source§impl Clone for NodeMessageType
impl Clone for NodeMessageType
Source§fn clone(&self) -> NodeMessageType
fn clone(&self) -> NodeMessageType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for NodeMessageType
Source§impl Debug for NodeMessageType
impl Debug for NodeMessageType
Source§impl<'de> Deserialize<'de> for NodeMessageType
impl<'de> Deserialize<'de> for NodeMessageType
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
impl Eq for NodeMessageType
Source§impl Ord for NodeMessageType
impl Ord for NodeMessageType
Source§fn cmp(&self, other: &NodeMessageType) -> Ordering
fn cmp(&self, other: &NodeMessageType) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for NodeMessageType
impl PartialEq for NodeMessageType
Source§fn eq(&self, other: &NodeMessageType) -> bool
fn eq(&self, other: &NodeMessageType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for NodeMessageType
impl PartialOrd for NodeMessageType
Source§impl Serialize for NodeMessageType
impl Serialize for NodeMessageType
impl StructuralPartialEq for NodeMessageType
Auto Trait Implementations§
impl Freeze for NodeMessageType
impl RefUnwindSafe for NodeMessageType
impl Send for NodeMessageType
impl Sync for NodeMessageType
impl Unpin for NodeMessageType
impl UnsafeUnpin for NodeMessageType
impl UnwindSafe for NodeMessageType
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