pub struct CompiledProcessCache { /* private fields */ }Implementations§
Source§impl CompiledProcessCache
impl CompiledProcessCache
pub fn new() -> CompiledProcessCache
pub fn with_capacity(capacity: usize) -> CompiledProcessCache
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§
Source§impl Default for CompiledProcessCache
impl Default for CompiledProcessCache
Source§fn default() -> CompiledProcessCache
fn default() -> CompiledProcessCache
Returns the “default value” for a type. Read more
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