pub trait Fiber<'d>: Sized {
type Output;
// Required method
fn poll(call: PollCall<'_, '_, 'd, Self>) -> Poll<Self::Output>;
}Expand description
A pinned unit of cooperative work admitted by its live owner and driver.
Ready ends that owner’s polling authority; implementations do not duplicate it.
Task retains standalone completion; nested polls share admission and budget.
Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".