pub enum CommandError<AggregateError, StoreError, CodecError>{
Aggregate(AggregateError),
Projection(ProjectionError<StoreError, CodecError>),
Codec(CodecError),
Store(StoreError),
}Expand description
Error type for unchecked command execution (no concurrency variant).
Variants§
Aggregate(AggregateError)
Projection(ProjectionError<StoreError, CodecError>)
Codec(CodecError)
Store(StoreError)
Trait Implementations§
Source§impl<AggregateError: Debug, StoreError, CodecError> Debug for CommandError<AggregateError, StoreError, CodecError>
impl<AggregateError: Debug, StoreError, CodecError> Debug for CommandError<AggregateError, StoreError, CodecError>
Source§impl<AggregateError, StoreError, CodecError> Display for CommandError<AggregateError, StoreError, CodecError>
impl<AggregateError, StoreError, CodecError> Display for CommandError<AggregateError, StoreError, CodecError>
Source§impl<AggregateError, StoreError, CodecError> Error for CommandError<AggregateError, StoreError, CodecError>
impl<AggregateError, StoreError, CodecError> Error for CommandError<AggregateError, StoreError, CodecError>
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Auto Trait Implementations§
impl<AggregateError, StoreError, CodecError> Freeze for CommandError<AggregateError, StoreError, CodecError>
impl<AggregateError, StoreError, CodecError> RefUnwindSafe for CommandError<AggregateError, StoreError, CodecError>
impl<AggregateError, StoreError, CodecError> Send for CommandError<AggregateError, StoreError, CodecError>
impl<AggregateError, StoreError, CodecError> Sync for CommandError<AggregateError, StoreError, CodecError>
impl<AggregateError, StoreError, CodecError> Unpin for CommandError<AggregateError, StoreError, CodecError>
impl<AggregateError, StoreError, CodecError> UnwindSafe for CommandError<AggregateError, StoreError, CodecError>
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more