pub struct CompiledProcessCache { /* private fields */ }Implementations§
Source§impl CompiledProcessCache
impl CompiledProcessCache
pub fn new() -> Self
pub fn with_capacity(capacity: usize) -> Self
pub fn get_or_compile( &mut self, artifact: &ModuleArtifact, process_ref: &ProcessRef, host_requirements_ref: &HostRequirementsRef, ) -> Result<Arc<CompiledProgram>, RuntimeError>
pub fn clear(&mut self)
pub fn stats(&self) -> CompiledProgramCacheStats
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for CompiledProcessCache
impl !UnwindSafe for CompiledProcessCache
impl Freeze for CompiledProcessCache
impl Send for CompiledProcessCache
impl Sync for CompiledProcessCache
impl Unpin for CompiledProcessCache
impl UnsafeUnpin for CompiledProcessCache
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