pub trait Task: Send {
type Output;
// Required method
fn poll_task(
&mut self,
cx: &mut Context<'_>,
) -> PollResult<Self::Output, Error>;
}
Expand description
Trait representing the asynchronous computation after applying the endpoints.
See the module level documentation for details.