Struct FallibleCommandApplyOutcome
pub struct FallibleCommandApplyOutcome {
pub started: usize,
pub applied: usize,
pub failed: usize,
pub remaining: usize,
}Expand description
Counts from one normally returning fallible apply.
started == applied + failed, and started never exceeds the supplied limit.
A panic returns no outcome; queue metrics still record partial progress.
Fields§
§started: usizeCommands invoked, including those returning a domain error.
applied: usizeCommands returning Ok(()).
failed: usizeCommands returning Err, each delivered to the error callback.
remaining: usizeAll commands still queued, including work outside the invocation budget.
Trait Implementations§
§impl Clone for FallibleCommandApplyOutcome
impl Clone for FallibleCommandApplyOutcome
§fn clone(&self) -> FallibleCommandApplyOutcome
fn clone(&self) -> FallibleCommandApplyOutcome
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for FallibleCommandApplyOutcome
impl Debug for FallibleCommandApplyOutcome
§impl Default for FallibleCommandApplyOutcome
impl Default for FallibleCommandApplyOutcome
§fn default() -> FallibleCommandApplyOutcome
fn default() -> FallibleCommandApplyOutcome
Returns the “default value” for a type. Read more
§impl PartialEq for FallibleCommandApplyOutcome
impl PartialEq for FallibleCommandApplyOutcome
impl Copy for FallibleCommandApplyOutcome
impl Eq for FallibleCommandApplyOutcome
impl StructuralPartialEq for FallibleCommandApplyOutcome
Auto Trait Implementations§
impl Freeze for FallibleCommandApplyOutcome
impl RefUnwindSafe for FallibleCommandApplyOutcome
impl Send for FallibleCommandApplyOutcome
impl Sync for FallibleCommandApplyOutcome
impl Unpin for FallibleCommandApplyOutcome
impl UnwindSafe for FallibleCommandApplyOutcome
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