Enum safe_network::node::routing::MessageReceived
source · [−]pub enum MessageReceived {
NodeCmd(NodeCmd),
NodeQuery(NodeQuery),
NodeQueryResponse {
response: NodeQueryResponse,
correlation_id: MessageId,
},
}
Expand description
Type of messages that are received from a peer
Variants
NodeCmd(NodeCmd)
Cmds only sent a among Nodes in the network.
NodeQuery(NodeQuery)
Queries is a read-only operation.
NodeQueryResponse
The response to a query, containing the query result.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MessageReceived
impl Send for MessageReceived
impl Sync for MessageReceived
impl Unpin for MessageReceived
impl UnwindSafe for MessageReceived
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more