pub trait GhostChannelSender<E>: 'static + Send + Sync + Sized + Clonewhere
    E: GhostEvent,{
    // Required method
    fn ghost_actor_channel_send(
        &self,
        event: E
    ) -> MustBoxFuture<'static, Result<(), GhostError>> ;
}
Expand description

Indicates an item is the Sender side of a channel that can forward/handle GhostEvents.

Required Methods§

source

fn ghost_actor_channel_send( &self, event: E ) -> MustBoxFuture<'static, Result<(), GhostError>>

Forward a GhostEvent along this channel.

Implementors§