Enum deno_core::OpMetricsEvent
source · #[repr(u8)]pub enum OpMetricsEvent {
Dispatched = 0,
Completed = 1,
CompletedAsync = 2,
Error = 3,
ErrorAsync = 4,
}
Expand description
The type of op metrics event.
Variants§
Dispatched = 0
Entered an op dispatch.
Completed = 1
Left an op synchronously.
CompletedAsync = 2
Left an op asynchronously.
Error = 3
Left an op synchronously with an exception.
ErrorAsync = 4
Left an op asynchronously with an exception.
Trait Implementations§
source§impl Clone for OpMetricsEvent
impl Clone for OpMetricsEvent
source§fn clone(&self) -> OpMetricsEvent
fn clone(&self) -> OpMetricsEvent
Returns a copy 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 Debug for OpMetricsEvent
impl Debug for OpMetricsEvent
source§impl PartialEq for OpMetricsEvent
impl PartialEq for OpMetricsEvent
source§fn eq(&self, other: &OpMetricsEvent) -> bool
fn eq(&self, other: &OpMetricsEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for OpMetricsEvent
impl Eq for OpMetricsEvent
impl StructuralEq for OpMetricsEvent
impl StructuralPartialEq for OpMetricsEvent
Auto Trait Implementations§
impl RefUnwindSafe for OpMetricsEvent
impl Send for OpMetricsEvent
impl Sync for OpMetricsEvent
impl Unpin for OpMetricsEvent
impl UnwindSafe for OpMetricsEvent
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.