Enum sn_messaging::MessageType [−][src]
pub enum MessageType { Ping, SectionInfo(Message), ClientMessage(Message), NodeMessage(NodeMessage), }
Type of message. Note this is part of this crate’s public API but this enum is never serialised or even part of the message that is sent over the wire.
Variants
SectionInfo(Message)
ClientMessage(Message)
NodeMessage(NodeMessage)
Implementations
impl MessageType
[src]
impl MessageType
[src]Trait Implementations
impl PartialEq<MessageType> for MessageType
[src]
impl PartialEq<MessageType> for MessageType
[src]fn eq(&self, other: &MessageType) -> bool
[src]
fn ne(&self, other: &MessageType) -> bool
[src]
impl StructuralPartialEq for MessageType
[src]
impl StructuralPartialEq for MessageType
[src]Auto Trait Implementations
impl RefUnwindSafe for MessageType
impl RefUnwindSafe for MessageType
impl Send for MessageType
impl Send for MessageType
impl Sync for MessageType
impl Sync for MessageType
impl Unpin for MessageType
impl Unpin for MessageType
impl UnwindSafe for MessageType
impl UnwindSafe for MessageType