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)>
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 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 Freeze for AppendError
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