pub trait GhostChannelSender<E>: 'static + Send + Sync + Sized + Clone
where 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.

Object Safety§

This trait is not object safe.

Implementors§