pub enum SnapshotCommandError<AggregateError, StoreError, CodecError, SnapshotError>{
Aggregate(AggregateError),
Projection(ProjectionError<StoreError, CodecError>),
Codec(CodecError),
Store(StoreError),
Snapshot(SnapshotError),
}Expand description
Error type for snapshot-enabled unchecked command execution.
Variants§
Aggregate(AggregateError)
Projection(ProjectionError<StoreError, CodecError>)
Codec(CodecError)
Store(StoreError)
Snapshot(SnapshotError)
Trait Implementations§
Source§impl<AggregateError: Debug, StoreError, CodecError, SnapshotError> Debug for SnapshotCommandError<AggregateError, StoreError, CodecError, SnapshotError>
impl<AggregateError: Debug, StoreError, CodecError, SnapshotError> Debug for SnapshotCommandError<AggregateError, StoreError, CodecError, SnapshotError>
Source§impl<AggregateError, StoreError, CodecError, SnapshotError> Display for SnapshotCommandError<AggregateError, StoreError, CodecError, SnapshotError>
impl<AggregateError, StoreError, CodecError, SnapshotError> Display for SnapshotCommandError<AggregateError, StoreError, CodecError, SnapshotError>
Source§impl<AggregateError, StoreError, CodecError, SnapshotError> Error for SnapshotCommandError<AggregateError, StoreError, CodecError, SnapshotError>
impl<AggregateError, StoreError, CodecError, SnapshotError> Error for SnapshotCommandError<AggregateError, StoreError, CodecError, SnapshotError>
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, SnapshotError> Freeze for SnapshotCommandError<AggregateError, StoreError, CodecError, SnapshotError>
impl<AggregateError, StoreError, CodecError, SnapshotError> RefUnwindSafe for SnapshotCommandError<AggregateError, StoreError, CodecError, SnapshotError>where
AggregateError: RefUnwindSafe,
CodecError: RefUnwindSafe,
StoreError: RefUnwindSafe,
SnapshotError: RefUnwindSafe,
impl<AggregateError, StoreError, CodecError, SnapshotError> Send for SnapshotCommandError<AggregateError, StoreError, CodecError, SnapshotError>
impl<AggregateError, StoreError, CodecError, SnapshotError> Sync for SnapshotCommandError<AggregateError, StoreError, CodecError, SnapshotError>
impl<AggregateError, StoreError, CodecError, SnapshotError> Unpin for SnapshotCommandError<AggregateError, StoreError, CodecError, SnapshotError>
impl<AggregateError, StoreError, CodecError, SnapshotError> UnwindSafe for SnapshotCommandError<AggregateError, StoreError, CodecError, SnapshotError>where
AggregateError: UnwindSafe,
CodecError: UnwindSafe,
StoreError: UnwindSafe,
SnapshotError: UnwindSafe,
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