Skip to main content

Root

Trait Root 

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

    // 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.

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".

Implementations on Foreign Types§

Source§

impl<'d, R: Root<'d>> Root<'d> for Occupied<'_, R>

Source§

type Output = <R as Root<'d>>::Output

Source§

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

Implementors§