Enum eventually::event::store::AppendError
source · pub enum AppendError {
Conflict(ConflictError),
Internal(Error),
}
Expand description
All possible error types returned by Appender::append
.
Variants§
Conflict(ConflictError)
Error returned when Appender::append encounters a conflict error while appending the new Domain Events.
Internal(Error)
Error returned when the Appender implementation has encountered an error.
Trait Implementations§
source§impl Debug for AppendError
impl Debug for AppendError
source§impl Display for AppendError
impl Display for AppendError
source§impl Error for AppendError
impl Error for AppendError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
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 From<ConflictError> for AppendError
impl From<ConflictError> for AppendError
source§fn from(source: ConflictError) -> Self
fn from(source: ConflictError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for AppendError
impl Send for AppendError
impl Sync for AppendError
impl Unpin for AppendError
impl UnwindSafe for AppendError
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