pub trait ExtensionProvider {
// Required methods
fn name(&self) -> &str;
fn install(&self, protocols: &mut ProtocolRegistry);
fn construct(
&self,
type_name: &str,
arguments: &[Value],
) -> Result<Value, String>;
}Required Methods§
fn name(&self) -> &str
fn install(&self, protocols: &mut ProtocolRegistry)
fn construct( &self, type_name: &str, arguments: &[Value], ) -> Result<Value, String>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".