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