pub trait Init {
// Provided methods
fn init() -> Result<(), InitError> { ... }
fn deinit() -> Result<(), InitError> { ... }
}
Expand description
Implement this trait if your plugin requires init or deinit functions
Provided Methods§
Object Safety§
This trait is not object safe.