pub enum ProjectionError<StoreError, CodecError>{
Store(StoreError),
Codec {
event_kind: String,
error: CodecError,
},
EventDecode(EventDecodeError<CodecError>),
SnapshotDeserialize(CodecError),
}Expand description
Errors that can occur when rebuilding a projection.
Variants§
Trait Implementations§
Source§impl<StoreError, CodecError> Debug for ProjectionError<StoreError, CodecError>
impl<StoreError, CodecError> Debug for ProjectionError<StoreError, CodecError>
Source§impl<StoreError, CodecError> Display for ProjectionError<StoreError, CodecError>
impl<StoreError, CodecError> Display for ProjectionError<StoreError, CodecError>
Source§impl<StoreError, CodecError> Error for ProjectionError<StoreError, CodecError>
impl<StoreError, CodecError> Error for ProjectionError<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<StoreError, CodecError> Freeze for ProjectionError<StoreError, CodecError>
impl<StoreError, CodecError> RefUnwindSafe for ProjectionError<StoreError, CodecError>where
StoreError: RefUnwindSafe,
CodecError: RefUnwindSafe,
impl<StoreError, CodecError> Send for ProjectionError<StoreError, CodecError>
impl<StoreError, CodecError> Sync for ProjectionError<StoreError, CodecError>
impl<StoreError, CodecError> Unpin for ProjectionError<StoreError, CodecError>
impl<StoreError, CodecError> UnwindSafe for ProjectionError<StoreError, CodecError>where
StoreError: UnwindSafe,
CodecError: 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