[][src]Struct coerce_rt::worker::WorkerMessage

pub struct WorkerMessage<M: Message> where
    M: 'static + Sync + Send
{ /* fields omitted */ }

Methods

impl<M: Message> WorkerMessage<M> where
    M: 'static + Sync + Send,
    M::Result: 'static + Sync + Send
[src]

pub fn new(message: M, res_tx: Sender<M::Result>) -> WorkerMessage<M>[src]

Trait Implementations

impl<W: Actor, M: Message> Handler<WorkerMessage<M>> for Worker<W> where
    W: 'static + Sync + Send,
    M: 'static + Sync + Send,
    W: Handler<M>,
    M::Result: 'static + Sync + Send
[src]

impl<M: Message> Message for WorkerMessage<M> where
    M: 'static + Sync + Send,
    M::Result: 'static + Sync + Send
[src]

type Result = ()

Auto Trait Implementations

impl<M> !RefUnwindSafe for WorkerMessage<M>

impl<M> Send for WorkerMessage<M> where
    <M as Message>::Result: Send

impl<M> Sync for WorkerMessage<M> where
    <M as Message>::Result: Send

impl<M> Unpin for WorkerMessage<M> where
    M: Unpin

impl<M> !UnwindSafe for WorkerMessage<M>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Message for T where
    T: TimerTick + 'static + Sync + Send
[src]

type Result = ()

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,