Skip to main content

Root

Trait Root 

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

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

Startup control flow with no I/O submission or arbitrary ready-slot authority.

Required Associated Types§

Required Methods§

Source

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

Source

fn cancel(self)

Releases this root when startup admission or execution fails.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§