Enum riker::protocol::ActorMsg [−][src]
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: Debug + Message> Debug for ActorMsg<Msg>
[src]
impl<Msg: Debug + Message> Debug for ActorMsg<Msg>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<Msg: Clone + Message> Clone for ActorMsg<Msg>
[src]
impl<Msg: Clone + Message> Clone for ActorMsg<Msg>
fn clone(&self) -> ActorMsg<Msg>
[src]
fn clone(&self) -> ActorMsg<Msg>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<Msg: Message> Into<ActorMsg<Msg>> for ChannelMsg<Msg>
[src]
impl<Msg: Message> Into<ActorMsg<Msg>> for ChannelMsg<Msg>
impl<Msg: Message> Into<ActorMsg<Msg>> for IOMsg<Msg>
[src]
impl<Msg: Message> Into<ActorMsg<Msg>> for IOMsg<Msg>
impl<Msg: Message> Into<ActorMsg<Msg>> for ESMsg<Msg>
[src]
impl<Msg: Message> Into<ActorMsg<Msg>> for ESMsg<Msg>
impl<Msg: Message> Into<ActorMsg<Msg>> for CQMsg<Msg>
[src]
impl<Msg: Message> Into<ActorMsg<Msg>> for CQMsg<Msg>
impl<Msg: Message> Into<ActorMsg<Msg>> for Identify
[src]
impl<Msg: Message> Into<ActorMsg<Msg>> for Identify
impl<Msg: Message> Into<ActorMsg<Msg>> for Info
[src]
impl<Msg: Message> Into<ActorMsg<Msg>> for Info
impl<Msg: Message> Into<ActorMsg<Msg>> for DeadLetter<Msg>
[src]
impl<Msg: Message> Into<ActorMsg<Msg>> for DeadLetter<Msg>
impl Into<ActorMsg<String>> for String
[src]
impl Into<ActorMsg<String>> for String
impl<'a> Into<ActorMsg<String>> for &'a str
[src]
impl<'a> Into<ActorMsg<String>> for &'a str
impl Into<ActorMsg<u32>> for u32
[src]
impl Into<ActorMsg<u32>> for u32