pub trait Component {
// Required methods
fn identifier(&self) -> &ID;
async fn start(&mut self) -> Result<(), ComponentError>;
}Required Methods§
fn identifier(&self) -> &ID
async fn start(&mut self) -> Result<(), ComponentError>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".