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