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
to: Pid
from: Pid
msg: Msg<T>
correlation_id: Option<CorrelationId>
Methods
impl<'de, T: Serialize + Deserialize<'de> + Debug + Clone> Envelope<T>[src]
Trait Implementations
impl<T: Debug> Debug for Envelope<T>[src]
impl<T: Clone> Clone for Envelope<T>[src]
fn clone(&self) -> Envelope<T>
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