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]
impl PartialEq for MpidMessageWrapper
fn eq(&self, other: &MpidMessageWrapper) -> bool
[src]
fn eq(&self, other: &MpidMessageWrapper) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &MpidMessageWrapper) -> bool
[src]
fn ne(&self, other: &MpidMessageWrapper) -> bool
This method tests for !=
.
impl Eq for MpidMessageWrapper
[src]
impl Eq for MpidMessageWrapper
impl Hash for MpidMessageWrapper
[src]
impl Hash for MpidMessageWrapper
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Clone for MpidMessageWrapper
[src]
impl Clone for MpidMessageWrapper
fn clone(&self) -> MpidMessageWrapper
[src]
fn clone(&self) -> MpidMessageWrapper
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Debug for MpidMessageWrapper
[src]
impl Debug for MpidMessageWrapper
Auto Trait Implementations
impl Send for MpidMessageWrapper
impl Send for MpidMessageWrapper
impl Sync for MpidMessageWrapper
impl Sync for MpidMessageWrapper