Struct riker::futures_util::MySender[][src]

pub struct MySender<F, T> {
    pub fut: F,
    pub tx: Option<Sender<T>>,
}

Fields

Trait Implementations

impl<F: Future> Future for MySender<F, Result<F::Item, F::Error>>
[src]

A successful value

An error

Attempt to resolve the future to a final value, registering the current task for wakeup if the value is not yet available. Read more

Auto Trait Implementations

impl<F, T> Send for MySender<F, T> where
    F: Send,
    T: Send

impl<F, T> Sync for MySender<F, T> where
    F: Sync,
    T: Send