[][src]Trait ghost_actor::ghost_chan::GhostChanSend

pub trait GhostChanSend<T: 'static + Send> {
    fn ghost_chan_send(&mut self, item: T) -> MustBoxFuture<GhostResult<()>>;
}

Sender trait for GhostChan Send subtraits.

Required methods

fn ghost_chan_send(&mut self, item: T) -> MustBoxFuture<GhostResult<()>>

Implement this in your sender newtype to forward GhostChan messages across a channel.

Loading content...

Implementations on Foreign Types

impl<T: 'static + Send> GhostChanSend<T> for Sender<T>[src]

Loading content...

Implementors

impl<'_, C> GhostChanSend<C> for MyActorHelper<'_, C> where
    C: 'static + Send
[src]

Loading content...