pub struct MicrotaskDrain {
pub executed: usize,
pub uncaught: Vec<CallbackException>,
}Expand description
The result of one explicit microtask checkpoint.
Fields§
§executed: usizeThe number of jobs removed from the queue and run.
uncaught: Vec<CallbackException>Callback exceptions, in FIFO execution order.
Trait Implementations§
Source§impl Clone for MicrotaskDrain
impl Clone for MicrotaskDrain
Source§fn clone(&self) -> MicrotaskDrain
fn clone(&self) -> MicrotaskDrain
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 MicrotaskDrain
impl Debug for MicrotaskDrain
Source§impl Default for MicrotaskDrain
impl Default for MicrotaskDrain
Source§fn default() -> MicrotaskDrain
fn default() -> MicrotaskDrain
Returns the “default value” for a type. Read more
impl Eq for MicrotaskDrain
Source§impl PartialEq for MicrotaskDrain
impl PartialEq for MicrotaskDrain
impl StructuralPartialEq for MicrotaskDrain
Auto Trait Implementations§
impl Freeze for MicrotaskDrain
impl RefUnwindSafe for MicrotaskDrain
impl Send for MicrotaskDrain
impl Sync for MicrotaskDrain
impl Unpin for MicrotaskDrain
impl UnsafeUnpin for MicrotaskDrain
impl UnwindSafe for MicrotaskDrain
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