pub trait Startup: Sized {
const INTEREST: Interest = dope_core::dope_sys::engine::register::Interest::Readable;
// Required method
fn installed(&self) -> Result<(), InstallError>;
// Provided methods
fn observed(&self, _request: Requested<Self>) { ... }
fn failed(&self) { ... }
}Expand description
Lifecycle behavior selected by an executor’s shutdown source.
Provided Associated Constants§
Required Methods§
Sourcefn installed(&self) -> Result<(), InstallError>
fn installed(&self) -> Result<(), InstallError>
Publishes installation readiness or preserves its exact notification failure.
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".