Struct flo_state::Recipient[][src]

pub struct Recipient<M> { /* fields omitted */ }

Implementations

impl<M> Recipient<M> where
    M: Message
[src]

pub async fn send(&self, message: M) -> Result<M::Result>[src]

pub async fn send_timeout(
    &self,
    timeout: Duration,
    message: M
) -> Result<M::Result>
[src]

Trait Implementations

impl<M> Clone for Recipient<M>[src]

Auto Trait Implementations

impl<M> !RefUnwindSafe for Recipient<M>

impl<M> Send for Recipient<M>

impl<M> Sync for Recipient<M>

impl<M> Unpin for Recipient<M>

impl<M> !UnwindSafe for Recipient<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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.