pub struct ExecutorHandle { /* private fields */ }Expand description
External handle for sampling executor live state.
Implementations§
Source§impl ExecutorHandle
impl ExecutorHandle
Sourcepub fn stats(&self) -> ExecutorStatsSnapshot
pub fn stats(&self) -> ExecutorStatsSnapshot
Sample the current stats. Atomic loads; consistent per-counter but not as a single snapshot.
Trait Implementations§
Source§impl Clone for ExecutorHandle
impl Clone for ExecutorHandle
Source§fn clone(&self) -> ExecutorHandle
fn clone(&self) -> ExecutorHandle
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ExecutorHandle
impl RefUnwindSafe for ExecutorHandle
impl Send for ExecutorHandle
impl Sync for ExecutorHandle
impl Unpin for ExecutorHandle
impl UnsafeUnpin for ExecutorHandle
impl UnwindSafe for ExecutorHandle
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