pub enum ExecuteTimingType {
CheckUs,
LoadUs,
ExecuteUs,
StoreUs,
UpdateStakesCacheUs,
NumExecuteBatches,
CollectLogsUs,
TotalBatchesLen,
}
Expand description
Used as an index for Metrics
.
Variants
CheckUs
LoadUs
ExecuteUs
StoreUs
UpdateStakesCacheUs
NumExecuteBatches
CollectLogsUs
TotalBatchesLen
Trait Implementations
sourceimpl Debug for ExecuteTimingType
impl Debug for ExecuteTimingType
sourceimpl Index<ExecuteTimingType> for Metrics
impl Index<ExecuteTimingType> for Metrics
sourceimpl IndexMut<ExecuteTimingType> for Metrics
impl IndexMut<ExecuteTimingType> for Metrics
sourcefn index_mut(&mut self, index: ExecuteTimingType) -> &mut Self::Output
fn index_mut(&mut self, index: ExecuteTimingType) -> &mut Self::Output
Performs the mutable indexing (container[index]
) operation. Read more
sourceimpl IntoEnumIterator for ExecuteTimingType
impl IntoEnumIterator for ExecuteTimingType
type Iterator = ExecuteTimingTypeEnumIterator
type Iterator = ExecuteTimingTypeEnumIterator
Type of the iterator over the variants.
sourceconst VARIANT_COUNT: usize = 8usize
const VARIANT_COUNT: usize = 8usize
Number of variants.
sourcefn into_enum_iter() -> Self::Iterator
fn into_enum_iter() -> Self::Iterator
Returns an iterator over the variants. Read more
Auto Trait Implementations
impl RefUnwindSafe for ExecuteTimingType
impl Send for ExecuteTimingType
impl Sync for ExecuteTimingType
impl Unpin for ExecuteTimingType
impl UnwindSafe for ExecuteTimingType
Blanket Implementations
sourceimpl<T> AbiExample for T
impl<T> AbiExample for T
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more