pub enum RecordOutcome {
Recorded,
Duplicate,
ZeroUnits,
}Expand description
Result of attempting to record an event.
Variants§
Recorded
The event was added to its aggregate.
Duplicate
The event’s idempotency key was already observed.
ZeroUnits
Zero units need no provider event.
Trait Implementations§
Source§impl Clone for RecordOutcome
impl Clone for RecordOutcome
impl Copy for RecordOutcome
Source§impl Debug for RecordOutcome
impl Debug for RecordOutcome
Source§impl Display for RecordOutcome
impl Display for RecordOutcome
impl Eq for RecordOutcome
Source§impl PartialEq for RecordOutcome
impl PartialEq for RecordOutcome
impl StructuralPartialEq for RecordOutcome
Auto Trait Implementations§
impl Freeze for RecordOutcome
impl RefUnwindSafe for RecordOutcome
impl Send for RecordOutcome
impl Sync for RecordOutcome
impl Unpin for RecordOutcome
impl UnsafeUnpin for RecordOutcome
impl UnwindSafe for RecordOutcome
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