pub struct ExecutionServicesStopReport {
pub blocking: StopReport,
pub cpu: StopReport,
pub tokio_blocking: StopReport,
pub io: StopReport,
}Expand description
Aggregate report returned by super::ExecutionServices::stop.
Fields§
§blocking: StopReportStop report for the blocking executor domain.
cpu: StopReportStop report for the CPU executor domain.
tokio_blocking: StopReportStop report for the Tokio blocking executor domain.
io: StopReportStop report for the Tokio async IO executor domain.
Implementations§
Source§impl ExecutionServicesStopReport
impl ExecutionServicesStopReport
Sourcepub const fn total_queued(&self) -> usize
pub const fn total_queued(&self) -> usize
Returns the total queued task count across all execution domains.
§Returns
The sum of every domain’s queued-task count.
Sourcepub const fn total_running(&self) -> usize
pub const fn total_running(&self) -> usize
Returns the total running task count across all execution domains.
§Returns
The sum of every domain’s running-task count.
Sourcepub const fn total_cancelled(&self) -> usize
pub const fn total_cancelled(&self) -> usize
Returns the total cancellation count across all execution domains.
§Returns
The sum of every domain’s cancelled-task count.
Trait Implementations§
Source§impl Clone for ExecutionServicesStopReport
impl Clone for ExecutionServicesStopReport
Source§fn clone(&self) -> ExecutionServicesStopReport
fn clone(&self) -> ExecutionServicesStopReport
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 moreSource§impl Debug for ExecutionServicesStopReport
impl Debug for ExecutionServicesStopReport
Source§impl Default for ExecutionServicesStopReport
impl Default for ExecutionServicesStopReport
Source§fn default() -> ExecutionServicesStopReport
fn default() -> ExecutionServicesStopReport
Returns the “default value” for a type. Read more
Source§impl PartialEq for ExecutionServicesStopReport
impl PartialEq for ExecutionServicesStopReport
Source§fn eq(&self, other: &ExecutionServicesStopReport) -> bool
fn eq(&self, other: &ExecutionServicesStopReport) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ExecutionServicesStopReport
impl Eq for ExecutionServicesStopReport
impl StructuralPartialEq for ExecutionServicesStopReport
Auto Trait Implementations§
impl Freeze for ExecutionServicesStopReport
impl RefUnwindSafe for ExecutionServicesStopReport
impl Send for ExecutionServicesStopReport
impl Sync for ExecutionServicesStopReport
impl Unpin for ExecutionServicesStopReport
impl UnsafeUnpin for ExecutionServicesStopReport
impl UnwindSafe for ExecutionServicesStopReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DropFlavorWrapper<T> for T
impl<T> DropFlavorWrapper<T> for T
Source§impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
impl<T, W> HasTypeWitness<W> for Twhere
W: MakeTypeWitness<Arg = T>,
T: ?Sized,
Source§impl<T> Identity for Twhere
T: ?Sized,
impl<T> Identity for Twhere
T: ?Sized,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more