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

Sent by a Client to its MpidManagers to notify them that it has just connected to the network.

Sent by a Client to its MpidManagers when storing a new MpidMessage.

Sent by the sender's MpidManagers to the receiver's MpidManagers to alert them of a new message.

Sent by the receiver to its MpidManagers to try to retrieve the message corresponding to the header.

Sent by a Client to its MpidManagers to query whether the provided vector of message names continue to exist as messages in its outbox.

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.

Sent by a Client to its MpidManagers to retrieve the list of headers of all messages in its outbox.

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.

Sent by a Client to its MpidManagers to delete the named message from its inbox or outbox.

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]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for MpidMessageWrapper
[src]

impl Hash for MpidMessageWrapper
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Clone for MpidMessageWrapper
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for MpidMessageWrapper
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations