pub enum CqrsWorkQueueOutcome<TCommand> {
Accepted {
status: CqrsStatus,
},
Rejected {
status: CqrsStatus,
error: Option<Box<CqrsError<TCommand>>>,
},
Release {
reason: Option<String>,
},
}Expand description
CqrsWorkQueueOutcome variants.
Variants§
Accepted
Accepted variant.
Fields
§
status: CqrsStatusstatus field for status.
Rejected
Rejected variant.
Fields
§
status: CqrsStatusstatus field for status.
Release
Release variant.
Trait Implementations§
Source§impl<TCommand: Clone> Clone for CqrsWorkQueueOutcome<TCommand>
impl<TCommand: Clone> Clone for CqrsWorkQueueOutcome<TCommand>
Source§fn clone(&self) -> CqrsWorkQueueOutcome<TCommand>
fn clone(&self) -> CqrsWorkQueueOutcome<TCommand>
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 moreSource§impl<TCommand: Debug> Debug for CqrsWorkQueueOutcome<TCommand>
impl<TCommand: Debug> Debug for CqrsWorkQueueOutcome<TCommand>
Source§impl<TCommand: PartialEq> PartialEq for CqrsWorkQueueOutcome<TCommand>
impl<TCommand: PartialEq> PartialEq for CqrsWorkQueueOutcome<TCommand>
Source§fn eq(&self, other: &CqrsWorkQueueOutcome<TCommand>) -> bool
fn eq(&self, other: &CqrsWorkQueueOutcome<TCommand>) -> bool
Tests for
self and other values to be equal, and is used by ==.impl<TCommand> StructuralPartialEq for CqrsWorkQueueOutcome<TCommand>
Auto Trait Implementations§
impl<TCommand> Freeze for CqrsWorkQueueOutcome<TCommand>
impl<TCommand> RefUnwindSafe for CqrsWorkQueueOutcome<TCommand>where
TCommand: RefUnwindSafe,
impl<TCommand> Send for CqrsWorkQueueOutcome<TCommand>where
TCommand: Send,
impl<TCommand> Sync for CqrsWorkQueueOutcome<TCommand>where
TCommand: Sync,
impl<TCommand> Unpin for CqrsWorkQueueOutcome<TCommand>
impl<TCommand> UnsafeUnpin for CqrsWorkQueueOutcome<TCommand>
impl<TCommand> UnwindSafe for CqrsWorkQueueOutcome<TCommand>where
TCommand: 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