pub trait RoderExtension:
Send
+ Sync
+ 'static {
// Required methods
fn manifest(&self) -> ExtensionManifest;
fn install(&self, registry: &mut ExtensionRegistryBuilder) -> Result<()>;
}Required Methods§
fn manifest(&self) -> ExtensionManifest
fn install(&self, registry: &mut ExtensionRegistryBuilder) -> Result<()>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Implementations on Foreign Types§
Source§impl<E: RoderExtension + ?Sized> RoderExtension for Arc<E>
Lets shared extension handles (e.g. distribution-supplied extension lists)
be installed through the same ExtensionRegistryBuilder::install path as
concrete extension values.
impl<E: RoderExtension + ?Sized> RoderExtension for Arc<E>
Lets shared extension handles (e.g. distribution-supplied extension lists)
be installed through the same ExtensionRegistryBuilder::install path as
concrete extension values.