pub trait ExtensionDescriptor: UriBound {
type ExtensionInterface: 'static + Any;
const INTERFACE: &'static Self::ExtensionInterface;
}Expand description
A descriptor for a plugin extension.
This trait is very minimal: It only contains a constant, static reference to the extension interface.
Required Associated Constants§
const INTERFACE: &'static Self::ExtensionInterface
Required Associated Types§
type ExtensionInterface: 'static + Any
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.