Trait holochain::prelude::kitsune_p2p::dependencies::kitsune_p2p_types::dependencies::ghost_actor::GhostChannelSender
source · pub trait GhostChannelSender<E>: 'static + Send + Sync + Sized + Clonewhere
E: GhostEvent,{
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
sourcefn ghost_actor_channel_send(
&self,
event: E
) -> MustBoxFuture<'static, Result<(), GhostError>> ⓘ
fn ghost_actor_channel_send(
&self,
event: E
) -> MustBoxFuture<'static, Result<(), GhostError>> ⓘ
Forward a GhostEvent along this channel.