pub enum EventReaderError {
MappingFailed(Box<dyn Error + Send + Sync + 'static>),
Persistence(Box<dyn Error + Send + Sync + 'static>),
NotInTransaction,
}Variants§
MappingFailed(Box<dyn Error + Send + Sync + 'static>)
Persistence(Box<dyn Error + Send + Sync + 'static>)
NotInTransaction
Trait Implementations§
Source§impl Debug for EventReaderError
impl Debug for EventReaderError
Source§impl Display for EventReaderError
impl Display for EventReaderError
Source§impl Error for EventReaderError
impl Error for EventReaderError
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()
Source§impl<A: Aggregate> From<EventReaderError> for RepositoryError<A>
impl<A: Aggregate> From<EventReaderError> for RepositoryError<A>
Source§fn from(source: EventReaderError) -> Self
fn from(source: EventReaderError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EventReaderError
impl !RefUnwindSafe for EventReaderError
impl Send for EventReaderError
impl Sync for EventReaderError
impl Unpin for EventReaderError
impl !UnwindSafe for EventReaderError
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