pub struct RlmProtocolPluginFactory { /* private fields */ }Implementations§
Source§impl RlmProtocolPluginFactory
impl RlmProtocolPluginFactory
pub fn new(config: RlmProtocolPluginConfig) -> Self
pub fn with_projection_resolver( self, projection_resolver: Arc<dyn ProjectionResolver>, ) -> Self
Trait Implementations§
Source§impl Default for RlmProtocolPluginFactory
impl Default for RlmProtocolPluginFactory
Source§impl PluginFactory for RlmProtocolPluginFactory
impl PluginFactory for RlmProtocolPluginFactory
fn id(&self) -> &'static str
fn lashlang_abilities(&self) -> LashlangAbilities
fn lashlang_language_features(&self) -> LashlangLanguageFeatures
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.
Source§fn lashlang_resources(&self) -> ResourceCatalog
fn lashlang_resources(&self) -> ResourceCatalog
Host-owned Lashlang catalog entries that code may link against. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for RlmProtocolPluginFactory
impl !UnwindSafe for RlmProtocolPluginFactory
impl Freeze for RlmProtocolPluginFactory
impl Send for RlmProtocolPluginFactory
impl Sync for RlmProtocolPluginFactory
impl Unpin for RlmProtocolPluginFactory
impl UnsafeUnpin for RlmProtocolPluginFactory
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