pub enum WasmStoreMetricReason {
CacheHit,
CacheMiss,
Capacity,
HashMismatch,
InvalidState,
ManagementCall,
MissingChunk,
MissingManifest,
Ok,
StoreCall,
UnsupportedInline,
}Expand description
WasmStoreMetricReason
Variants§
CacheHit
CacheMiss
Capacity
HashMismatch
InvalidState
ManagementCall
MissingChunk
MissingManifest
Ok
StoreCall
UnsupportedInline
Implementations§
Source§impl WasmStoreMetricReason
impl WasmStoreMetricReason
Sourcepub const fn metric_label(self) -> &'static str
pub const fn metric_label(self) -> &'static str
Return the stable public metrics label for this reason.
Trait Implementations§
Source§impl Clone for WasmStoreMetricReason
impl Clone for WasmStoreMetricReason
Source§fn clone(&self) -> WasmStoreMetricReason
fn clone(&self) -> WasmStoreMetricReason
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Hash for WasmStoreMetricReason
impl Hash for WasmStoreMetricReason
Source§impl Ord for WasmStoreMetricReason
impl Ord for WasmStoreMetricReason
Source§fn cmp(&self, other: &WasmStoreMetricReason) -> Ordering
fn cmp(&self, other: &WasmStoreMetricReason) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WasmStoreMetricReason
impl PartialEq for WasmStoreMetricReason
Source§impl PartialOrd for WasmStoreMetricReason
impl PartialOrd for WasmStoreMetricReason
impl Copy for WasmStoreMetricReason
impl Eq for WasmStoreMetricReason
impl StructuralPartialEq for WasmStoreMetricReason
Auto Trait Implementations§
impl Freeze for WasmStoreMetricReason
impl RefUnwindSafe for WasmStoreMetricReason
impl Send for WasmStoreMetricReason
impl Sync for WasmStoreMetricReason
impl Unpin for WasmStoreMetricReason
impl UnsafeUnpin for WasmStoreMetricReason
impl UnwindSafe for WasmStoreMetricReason
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