Trait finchers_core::task::Task [] [src]

pub trait Task: Send {
    type Output;
    fn poll_task(&mut self, cx: &mut Context) -> PollResult<Self::Output, Error>;
}

Trait representing the asynchronous computation after applying the endpoints.

See the module level documentation for details.

Associated Types

The inner type of an output which will be returned from this task.

Required Methods

Perform polling this task and get its result.

Implementations on Foreign Types

impl<L, R> Task for Either<L, R> where
    L: Task,
    R: Task<Output = L::Output>, 
[src]

[src]

Implementors