pub enum ModuleQueryCacheStatus {
Hit,
Miss,
Rebuilt,
Evicted,
}Expand description
Worker-side module snapshot cache status for a batched module query.
Variants§
Trait Implementations§
Source§impl Clone for ModuleQueryCacheStatus
impl Clone for ModuleQueryCacheStatus
Source§fn clone(&self) -> ModuleQueryCacheStatus
fn clone(&self) -> ModuleQueryCacheStatus
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 moreimpl Copy for ModuleQueryCacheStatus
Source§impl Debug for ModuleQueryCacheStatus
impl Debug for ModuleQueryCacheStatus
impl Eq for ModuleQueryCacheStatus
Source§impl PartialEq for ModuleQueryCacheStatus
impl PartialEq for ModuleQueryCacheStatus
impl StructuralPartialEq for ModuleQueryCacheStatus
Source§impl<'lean> TryFromLean<'lean> for ModuleQueryCacheStatus
impl<'lean> TryFromLean<'lean> for ModuleQueryCacheStatus
Source§fn try_from_lean(obj: Obj<'lean>) -> LeanResult<Self>
fn try_from_lean(obj: Obj<'lean>) -> LeanResult<Self>
Decode
obj into Self, returning a
LeanError::Host with stage
[HostStage::Conversion] if the object’s kind or payload is
outside the type’s representable range. Read moreAuto Trait Implementations§
impl Freeze for ModuleQueryCacheStatus
impl RefUnwindSafe for ModuleQueryCacheStatus
impl Send for ModuleQueryCacheStatus
impl Sync for ModuleQueryCacheStatus
impl Unpin for ModuleQueryCacheStatus
impl UnsafeUnpin for ModuleQueryCacheStatus
impl UnwindSafe for ModuleQueryCacheStatus
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