pub struct ExecutorStats {
pub futures_polled: usize,
pub futures_completed: usize,
}Expand description
Cumulative future activity from the most recent executor run.
Fields§
§futures_polled: usizeNumber of calls made to an async future’s poll method.
futures_completed: usizeNumber of async futures that returned Poll::Ready.
Trait Implementations§
Source§impl Clone for ExecutorStats
impl Clone for ExecutorStats
Source§fn clone(&self) -> ExecutorStats
fn clone(&self) -> ExecutorStats
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 moreimpl Copy for ExecutorStats
Source§impl Debug for ExecutorStats
impl Debug for ExecutorStats
Source§impl Default for ExecutorStats
impl Default for ExecutorStats
Source§fn default() -> ExecutorStats
fn default() -> ExecutorStats
Returns the “default value” for a type. Read more
impl Eq for ExecutorStats
Source§impl PartialEq for ExecutorStats
impl PartialEq for ExecutorStats
Source§fn eq(&self, other: &ExecutorStats) -> bool
fn eq(&self, other: &ExecutorStats) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ExecutorStats
Auto Trait Implementations§
impl Freeze for ExecutorStats
impl RefUnwindSafe for ExecutorStats
impl Send for ExecutorStats
impl Sync for ExecutorStats
impl Unpin for ExecutorStats
impl UnsafeUnpin for ExecutorStats
impl UnwindSafe for ExecutorStats
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