[][src]Enum riker::actor::ChannelMsg

pub enum ChannelMsg<Msg: Message> {
    Publish(Publish<Msg>),
    Subscribe(Subscribe<Msg>),
    Unsubscribe(Unsubscribe<Msg>),
    UnsubscribeAll(UnsubscribeAll<Msg>),
}

Variants

Publish(Publish<Msg>)

Publish message

Subscribe(Subscribe<Msg>)

Subscribe given ActorRef to a topic on a channel

Unsubscribe(Unsubscribe<Msg>)

Unsubscribe the given ActorRef from a topic on a channel

UnsubscribeAll(UnsubscribeAll<Msg>)

Unsubscribe the given ActorRef from all topics on a channel

Trait Implementations

impl<Msg> Receive<ChannelMsg<Msg>> for Channel<Msg> where
    Msg: Message
[src]

type Msg = ChannelMsg<Msg>

impl Receive<ChannelMsg<SystemEvent>> for EventsChannel[src]

type Msg = ChannelMsg<SystemEvent>

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

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

Performs copy-assignment from source. Read more

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

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

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

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

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

Auto Trait Implementations

impl<Msg> !Sync for ChannelMsg<Msg>

impl<Msg> Send for ChannelMsg<Msg>

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

impl<Msg> !RefUnwindSafe for ChannelMsg<Msg>

impl<Msg> !UnwindSafe for ChannelMsg<Msg>

Blanket Implementations

impl<T> Message for T where
    T: 'static + Send + Clone + Debug
[src]

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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