Struct stateright::actor::Envelope[][src]

pub struct Envelope<Msg> {
    pub src: Id,
    pub dst: Id,
    pub msg: Msg,
}

Indicates the source and destination for a message.

Fields

src: Iddst: Idmsg: Msg

Trait Implementations

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

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

impl<Msg: Eq> Eq for Envelope<Msg>[src]

impl<Msg: Hash> Hash for Envelope<Msg>[src]

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

impl<Msg> Serialize for Envelope<Msg> where
    Msg: Serialize
[src]

impl<Msg> StructuralEq for Envelope<Msg>[src]

impl<Msg> StructuralPartialEq for Envelope<Msg>[src]

Auto Trait Implementations

impl<Msg> RefUnwindSafe for Envelope<Msg> where
    Msg: RefUnwindSafe

impl<Msg> Send for Envelope<Msg> where
    Msg: Send

impl<Msg> Sync for Envelope<Msg> where
    Msg: Sync

impl<Msg> Unpin for Envelope<Msg> where
    Msg: Unpin

impl<Msg> UnwindSafe for Envelope<Msg> where
    Msg: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,