Skip to main content

AppendError

Trait AppendError 

Source
pub trait AppendError: Error {
    // Required method
    fn is_conflict_error(&self) -> bool;
}
Expand description

Error type returned by append in EventStore implementations.

Required Methods§

Source

fn is_conflict_error(&self) -> bool

Returns true if the error is due to a version conflict during append.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl AppendError for Infallible

Implementors§