pub struct ObservationalMemoryPluginFactory { /* private fields */ }Implementations§
Source§impl ObservationalMemoryPluginFactory
impl ObservationalMemoryPluginFactory
pub fn new(config: ObservationalMemoryConfig) -> Self
Trait Implementations§
Source§impl Clone for ObservationalMemoryPluginFactory
impl Clone for ObservationalMemoryPluginFactory
Source§fn clone(&self) -> ObservationalMemoryPluginFactory
fn clone(&self) -> ObservationalMemoryPluginFactory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PluginFactory for ObservationalMemoryPluginFactory
impl PluginFactory for ObservationalMemoryPluginFactory
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 lashlang_abilities(&self) -> LashlangAbilities
fn lashlang_language_features(&self) -> LashlangLanguageFeatures
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 Freeze for ObservationalMemoryPluginFactory
impl RefUnwindSafe for ObservationalMemoryPluginFactory
impl Send for ObservationalMemoryPluginFactory
impl Sync for ObservationalMemoryPluginFactory
impl Unpin for ObservationalMemoryPluginFactory
impl UnsafeUnpin for ObservationalMemoryPluginFactory
impl UnwindSafe for ObservationalMemoryPluginFactory
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