pub trait Plugin:
Lifecycle
+ Policy
+ Sync{
const CATALOGS: &'static [Catalog];
// Provided methods
fn register(_registrar: &mut Registrar) -> Result<(), RegistrationError> { ... }
fn attachment(&self) -> Option<Arc<dyn Attachment<Self::Context>>> { ... }
}Required Associated Constants§
Provided Methods§
fn register(_registrar: &mut Registrar) -> Result<(), RegistrationError>
fn attachment(&self) -> Option<Arc<dyn Attachment<Self::Context>>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".