pub trait Plugin:
Send
+ Sync
+ Any {
// Required method
fn name(&self) -> String;
// Provided method
fn group(&self) -> String { ... }
}Expand description
Base plugin interface implemented by all plugins.
Provides a name and an optional group label.
Required Methods§
Provided Methods§
Trait Implementations§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".