pub struct BlockingExecutorShutdownReport {
pub completed: bool,
pub pending_operations: usize,
pub snapshot: BlockingExecutorSnapshot,
}Expand description
Completion evidence for one isolated executor and all of its clones.
Running closures cannot be interrupted. An incomplete report can be
followed by another BlockingExecutor::shutdown_until call.
Fields§
§completed: boolWhether every accepted submission and closure has released its ownership.
pending_operations: usizeSubmissions or closures still owned at the observation time.
snapshot: BlockingExecutorSnapshotQueued and running blocking work at the observation time.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BlockingExecutorShutdownReport
impl RefUnwindSafe for BlockingExecutorShutdownReport
impl Send for BlockingExecutorShutdownReport
impl Sync for BlockingExecutorShutdownReport
impl Unpin for BlockingExecutorShutdownReport
impl UnsafeUnpin for BlockingExecutorShutdownReport
impl UnwindSafe for BlockingExecutorShutdownReport
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