Enum routing::messaging::MpidMessageWrapper
[−]
[src]
pub enum MpidMessageWrapper { Online, PutMessage(MpidMessage), PutHeader(MpidHeader), GetMessage(MpidHeader), OutboxHas(Vec<XorName>), OutboxHasResponse(Vec<MpidHeader>), GetOutboxHeaders, GetOutboxHeadersResponse(Vec<MpidHeader>), DeleteMessage(XorName), DeleteHeader(XorName), }
A serialisable wrapper to allow multiplexing all MPID message types and actions via a single type.
Variants
Online
Sent by a Client to its MpidManagers to notify them that it has just connected to the network.
PutMessage(MpidMessage)
Sent by a Client to its MpidManagers when storing a new MpidMessage
.
PutHeader(MpidHeader)
Sent by the sender's MpidManagers to the receiver's MpidManagers to alert them of a new message.
GetMessage(MpidHeader)
Sent by the receiver to its MpidManagers to try to retrieve the message corresponding to the header.
OutboxHas(Vec<XorName>)
Sent by a Client to its MpidManagers to query whether the provided vector of message names continue to exist as messages in its outbox.
OutboxHasResponse(Vec<MpidHeader>)
Sent by MpidManagers to the Client as a response to an OutboxHas
. The contents is a
subset of the list provided in the corresponding OutboxHas
.
GetOutboxHeaders
Sent by a Client to its MpidManagers to retrieve the list of headers of all messages in its outbox.
GetOutboxHeadersResponse(Vec<MpidHeader>)
Sent by MpidManagers to the Client as a response to a GetOutboxHeaders
. The contents is
the list of headers of all messages in the outbox.
DeleteMessage(XorName)
Sent by a Client to its MpidManagers to delete the named message from its inbox or outbox.
DeleteHeader(XorName)
Sent by a receiving Client to the sender's MpidManagers to delete the named message's header from the sender's outbox.
Trait Implementations
impl PartialEq for MpidMessageWrapper
[src]
fn eq(&self, __arg_0: &MpidMessageWrapper) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &MpidMessageWrapper) -> bool
This method tests for !=
.
impl Eq for MpidMessageWrapper
[src]
impl Hash for MpidMessageWrapper
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the state given, updating the hasher as necessary.
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0
Feeds a slice of this type into the state provided.
impl Clone for MpidMessageWrapper
[src]
fn clone(&self) -> MpidMessageWrapper
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for MpidMessageWrapper
[src]
impl Decodable for MpidMessageWrapper
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D)
-> Result<MpidMessageWrapper, __D::Error>
-> Result<MpidMessageWrapper, __D::Error>