Struct deno_core::OpMetricsSummary
source · pub struct OpMetricsSummary {
pub ops_dispatched_sync: u64,
pub ops_dispatched_async: u64,
pub ops_dispatched_fast: u64,
pub ops_completed_async: u64,
}
Expand description
Used for both aggregate and per-op metrics.
Fields§
§ops_dispatched_sync: u64
§ops_dispatched_async: u64
§ops_dispatched_fast: u64
§ops_completed_async: u64
Implementations§
source§impl OpMetricsSummary
impl OpMetricsSummary
sourcepub fn has_outstanding_ops(&self) -> bool
pub fn has_outstanding_ops(&self) -> bool
Does this op have outstanding async op dispatches?
Trait Implementations§
source§impl Clone for OpMetricsSummary
impl Clone for OpMetricsSummary
source§fn clone(&self) -> OpMetricsSummary
fn clone(&self) -> OpMetricsSummary
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 OpMetricsSummary
impl Debug for OpMetricsSummary
source§impl Default for OpMetricsSummary
impl Default for OpMetricsSummary
source§fn default() -> OpMetricsSummary
fn default() -> OpMetricsSummary
Returns the “default value” for a type. Read more
source§impl PartialEq for OpMetricsSummary
impl PartialEq for OpMetricsSummary
source§fn eq(&self, other: &OpMetricsSummary) -> bool
fn eq(&self, other: &OpMetricsSummary) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for OpMetricsSummary
impl Serialize for OpMetricsSummary
impl Eq for OpMetricsSummary
impl StructuralPartialEq for OpMetricsSummary
Auto Trait Implementations§
impl RefUnwindSafe for OpMetricsSummary
impl Send for OpMetricsSummary
impl Sync for OpMetricsSummary
impl Unpin for OpMetricsSummary
impl UnwindSafe for OpMetricsSummary
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.