Skip to main content

Root

Trait Root 

Source
pub trait Root<'d>: Sized {
    type Output;

    const ADMITTED: bool = false;

    // Required method
    fn poll(context: Context<'_, 'd, Self>) -> Poll<Self::Output>;
}
Expand description

Transient pinned control-flow root. Driver authority retains the application through terminal quiescence.

Provided Associated Constants§

Source

const ADMITTED: bool = false

Required Associated Types§

Required Methods§

Source

fn poll(context: Context<'_, 'd, Self>) -> Poll<Self::Output>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<'d, F: Fiber<'d>> Root<'d> for F

Source§

const ADMITTED: bool = true

Source§

type Output = <F as Fiber<'d>>::Output