Trait ghost_actor::GhostChannelSender
source · pub trait GhostChannelSender<E: GhostEvent>: 'static + Send + Sync + Sized + Clone {
// Required method
fn ghost_actor_channel_send(&self, event: E) -> GhostFuture<()>;
}
Expand description
Indicates an item is the Sender side of a channel that can forward/handle GhostEvents.
Required Methods§
sourcefn ghost_actor_channel_send(&self, event: E) -> GhostFuture<()>
fn ghost_actor_channel_send(&self, event: E) -> GhostFuture<()>
Forward a GhostEvent along this channel.