pub struct InMemoryLashlangArtifactStore { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for InMemoryLashlangArtifactStore
impl Clone for InMemoryLashlangArtifactStore
Source§fn clone(&self) -> InMemoryLashlangArtifactStore
fn clone(&self) -> InMemoryLashlangArtifactStore
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 Default for InMemoryLashlangArtifactStore
impl Default for InMemoryLashlangArtifactStore
Source§fn default() -> InMemoryLashlangArtifactStore
fn default() -> InMemoryLashlangArtifactStore
Returns the “default value” for a type. Read more
Source§impl LashlangArtifactStore for InMemoryLashlangArtifactStore
impl LashlangArtifactStore for InMemoryLashlangArtifactStore
fn put_module_artifact<'life0, 'life1, 'async_trait>(
&'life0 self,
artifact: &'life1 ModuleArtifact,
) -> Pin<Box<dyn Future<Output = Result<(), ArtifactStoreError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
InMemoryLashlangArtifactStore: 'async_trait,
fn get_module_artifact<'life0, 'life1, 'async_trait>(
&'life0 self,
module_ref: &'life1 ModuleRef,
) -> Pin<Box<dyn Future<Output = Result<Option<Arc<ModuleArtifact>>, ArtifactStoreError>> + Send + 'async_trait>>where
'life0: 'async_trait,
'life1: 'async_trait,
InMemoryLashlangArtifactStore: 'async_trait,
Source§fn durability_tier(&self) -> DurabilityTier
fn durability_tier(&self) -> DurabilityTier
Durability tier this artifact store provides; defaults to
DurabilityTier::Inline.Auto Trait Implementations§
impl Freeze for InMemoryLashlangArtifactStore
impl RefUnwindSafe for InMemoryLashlangArtifactStore
impl Send for InMemoryLashlangArtifactStore
impl Sync for InMemoryLashlangArtifactStore
impl Unpin for InMemoryLashlangArtifactStore
impl UnsafeUnpin for InMemoryLashlangArtifactStore
impl UnwindSafe for InMemoryLashlangArtifactStore
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