pub struct StandardProtocolPluginFactory;Expand description
Plugin factory that installs the standard-protocol driver, session plugin, and native tool catalog.
Implementations§
Trait Implementations§
Source§impl Default for StandardProtocolPluginFactory
impl Default for StandardProtocolPluginFactory
Source§fn default() -> StandardProtocolPluginFactory
fn default() -> StandardProtocolPluginFactory
Returns the “default value” for a type. Read more
Source§impl PluginFactory for StandardProtocolPluginFactory
impl PluginFactory for StandardProtocolPluginFactory
fn id(&self) -> &'static str
Source§fn build(
&self,
_ctx: &PluginSessionContext,
) -> Result<Arc<dyn SessionPlugin>, PluginError>
fn build( &self, _ctx: &PluginSessionContext, ) -> Result<Arc<dyn SessionPlugin>, PluginError>
Produce a session-scoped plugin. Must be cheap — see the
trait-level docs for the full contract.
fn extension_contributions(&self) -> Vec<PluginExtensionContribution>
Auto Trait Implementations§
impl Freeze for StandardProtocolPluginFactory
impl RefUnwindSafe for StandardProtocolPluginFactory
impl Send for StandardProtocolPluginFactory
impl Sync for StandardProtocolPluginFactory
impl Unpin for StandardProtocolPluginFactory
impl UnsafeUnpin for StandardProtocolPluginFactory
impl UnwindSafe for StandardProtocolPluginFactory
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more