[][src]Struct tokio::prelude::task::Run

pub struct Run { /* fields omitted */ }
Deprecated

Units of work submitted to an Executor, currently only created internally.

Methods

impl Run[src]

pub fn run(self)[src]

Actually run the task (invoking poll on its future) on the current thread.

Trait Implementations

impl Debug for Run[src]

Auto Trait Implementations

impl Send for Run

impl Unpin for Run

impl !Sync for Run

impl !UnwindSafe for Run

impl !RefUnwindSafe for Run

Blanket Implementations

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

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

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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