Enum riker::protocol::ChannelMsg[][src]

pub enum ChannelMsg<Msg: Message> {
    Publish(Topic, Msg),
    PublishEvent(SystemEvent<Msg>),
    PublishDeadLetter(Box<DeadLetter<Msg>>),
    Subscribe(TopicActorRef<Msg>),
    Unsubscribe(TopicActorRef<Msg>),
    UnsubscribeAll(ActorRef<Msg>),
}

Variants

Publish message

Publish system event

Publish dead letter

Subscribe given ActorRef to a topic on a channel

Unsubscribe the given ActorRef from a topic on a channel

Unsubscribe the given ActorRef from all topics on a channel

Trait Implementations

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

Formats the value using the given formatter. Read more

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Performs the conversion.

Auto Trait Implementations

impl<Msg> Send for ChannelMsg<Msg>

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