pub struct TaskDispatchOutcome {
pub succeeded: usize,
pub retried: usize,
pub failed: usize,
}Expand description
Counters returned by one claimed task execution.
Fields§
§succeeded: usizeNumber of tasks completed successfully.
retried: usizeNumber of tasks scheduled for retry.
failed: usizeNumber of tasks permanently failed.
Implementations§
Trait Implementations§
Source§impl Clone for TaskDispatchOutcome
impl Clone for TaskDispatchOutcome
Source§fn clone(&self) -> TaskDispatchOutcome
fn clone(&self) -> TaskDispatchOutcome
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 TaskDispatchOutcome
impl Debug for TaskDispatchOutcome
Source§impl Default for TaskDispatchOutcome
impl Default for TaskDispatchOutcome
Source§fn default() -> TaskDispatchOutcome
fn default() -> TaskDispatchOutcome
Returns the “default value” for a type. Read more
Source§impl PartialEq for TaskDispatchOutcome
impl PartialEq for TaskDispatchOutcome
Source§fn eq(&self, other: &TaskDispatchOutcome) -> bool
fn eq(&self, other: &TaskDispatchOutcome) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for TaskDispatchOutcome
impl Eq for TaskDispatchOutcome
impl StructuralPartialEq for TaskDispatchOutcome
Auto Trait Implementations§
impl Freeze for TaskDispatchOutcome
impl RefUnwindSafe for TaskDispatchOutcome
impl Send for TaskDispatchOutcome
impl Sync for TaskDispatchOutcome
impl Unpin for TaskDispatchOutcome
impl UnsafeUnpin for TaskDispatchOutcome
impl UnwindSafe for TaskDispatchOutcome
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.