[][src]Enum riker::protocol::ActorMsg

pub enum ActorMsg<Msg: Message> {
    User(Msg),
    Channel(ChannelMsg<Msg>),
    IO(IOMsg<Msg>),
    ES(ESMsg<Msg>),
    CQ(CQMsg<Msg>),
    Identify,
    Info(Info),
    DeadLetter(Box<DeadLetter<Msg>>),
    Tick,
}

Standard message type. All actor messages are ActorMsg

Variants

User(Msg)

User message type

Channel(ChannelMsg<Msg>)

Channel messages

IO(IOMsg<Msg>)

IO messages (IoManager)

ES(ESMsg<Msg>)

Event sourcing messages

CQ(CQMsg<Msg>)

CQRS messages

Identify

Request actor info

Info(Info)

Response to Identify

DeadLetter(Box<DeadLetter<Msg>>)

Dead letter messages

Tick

A utility message for user to schedule actor execution

Trait Implementations

impl<Msg: Message> Into<ActorMsg<Msg>> for ChannelMsg<Msg>
[src]

impl<Msg: Message> Into<ActorMsg<Msg>> for IOMsg<Msg>
[src]

impl<Msg: Message> Into<ActorMsg<Msg>> for ESMsg<Msg>
[src]

impl<Msg: Message> Into<ActorMsg<Msg>> for CQMsg<Msg>
[src]

impl<Msg: Message> Into<ActorMsg<Msg>> for Identify
[src]

impl<Msg: Message> Into<ActorMsg<Msg>> for Info
[src]

impl<Msg: Message> Into<ActorMsg<Msg>> for DeadLetter<Msg>
[src]

impl Into<ActorMsg<String>> for String
[src]

impl<'a> Into<ActorMsg<String>> for &'a str
[src]

impl Into<ActorMsg<u32>> for u32
[src]

impl<Msg: Clone + Message> Clone for ActorMsg<Msg>
[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl<Msg: Debug + Message> Debug for ActorMsg<Msg>
[src]

Auto Trait Implementations

impl<Msg> Send for ActorMsg<Msg>

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

Blanket Implementations

impl<T> From for T
[src]

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

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

type Owned = T

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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