pub struct ExtensionModuleSchemaCache { /* private fields */ }Expand description
Process-local cache for parsed extension module schemas.
Loading an extension .so is expensive (dlopen + schema parsing) so
repeat callers for the same (name, canonical path, config) key share a
cached ParsedModuleSchema. Caches are owned by their user (e.g.
crate::Runtime::extension_module_schemas or the LSP’s per-process
cache) — there is no process-global instance.
Implementations§
Trait Implementations§
Source§impl Debug for ExtensionModuleSchemaCache
impl Debug for ExtensionModuleSchemaCache
Source§impl Default for ExtensionModuleSchemaCache
impl Default for ExtensionModuleSchemaCache
Source§fn default() -> ExtensionModuleSchemaCache
fn default() -> ExtensionModuleSchemaCache
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for ExtensionModuleSchemaCache
impl RefUnwindSafe for ExtensionModuleSchemaCache
impl Send for ExtensionModuleSchemaCache
impl Sync for ExtensionModuleSchemaCache
impl Unpin for ExtensionModuleSchemaCache
impl UnsafeUnpin for ExtensionModuleSchemaCache
impl UnwindSafe for ExtensionModuleSchemaCache
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