Struct rabble::Envelope [] [src]

pub struct Envelope<T> {
    pub to: Pid,
    pub from: Pid,
    pub msg: Msg<T>,
    pub correlation_id: Option<CorrelationId>,
}

Envelopes are routable to processes on all nodes and threads running on the same node as this process.

Fields

Methods

impl<'de, T: Serialize + Deserialize<'de> + Debug + Clone> Envelope<T>
[src]

Trait Implementations

impl<T: Debug> Debug for Envelope<T>
[src]

Formats the value using the given formatter.

impl<T: Clone> Clone for Envelope<T>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<T: PartialEq> PartialEq for Envelope<T>
[src]

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

This method tests for !=.