Skip to main content

Startup

Trait Startup 

Source
pub trait Startup: Sized {
    // Required method
    fn installed(&self) -> Result<(), InstallError>;
}
Expand description

Compile-time behavior selected by an executor’s shutdown source after its pinned application is installed.

Required Methods§

Source

fn installed(&self) -> Result<(), InstallError>

Publishes installation readiness or preserves its exact notification failure.

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 Startup for ()

Implementors§