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 Forget for BlockingExecutorShutdownReport
impl Freeze for BlockingExecutorShutdownReportwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<BlockingTaskSnapshot>: Freeze,
impl Move for BlockingExecutorShutdownReport
impl RefUnwindSafe for BlockingExecutorShutdownReport
impl Send for BlockingExecutorShutdownReportwhere
RawVecInner: Send,
impl Sync for BlockingExecutorShutdownReportwhere
RawVecInner: Sync,
impl Unpin for BlockingExecutorShutdownReport
impl UnsafeUnpin for BlockingExecutorShutdownReportwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<BlockingTaskSnapshot>: UnsafeUnpin,
impl UnwindSafe for BlockingExecutorShutdownReportwhere
RawVecInner: UnwindSafe,
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