Struct deno_core::stats::RuntimeActivityStats
source · pub struct RuntimeActivityStats { /* private fields */ }
Expand description
Information about in-flight ops, open resources, active timers and other runtime-specific data that can be used for test sanitization.
Implementations§
source§impl RuntimeActivityStats
impl RuntimeActivityStats
sourcepub fn dump(&self) -> RuntimeActivitySnapshot
pub fn dump(&self) -> RuntimeActivitySnapshot
Capture the data within this RuntimeActivityStats
as a RuntimeActivitySnapshot
with details of activity.
pub fn diff(before: &Self, after: &Self) -> RuntimeActivityDiff
Auto Trait Implementations§
impl !RefUnwindSafe for RuntimeActivityStats
impl !Send for RuntimeActivityStats
impl !Sync for RuntimeActivityStats
impl Unpin for RuntimeActivityStats
impl !UnwindSafe for RuntimeActivityStats
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