Skip to main content

Root

Trait Root 

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

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

Transient pinned control-flow root. Its driver authority retains the installed application through terminal completion and quiescence; backends must not retain root-owned fields.

Required Associated Types§

Required Methods§

Source

fn poll(context: RootContext<'_, '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§