Enum event_store_core::error::EventStoreError
source · pub enum EventStoreError {
NoStorage,
InvalidStreamId,
Storage(StorageError),
EventProcessing(UnsavedEventError),
InternalEventStoreError(BoxDynError),
}
Variants§
NoStorage
InvalidStreamId
Storage(StorageError)
EventProcessing(UnsavedEventError)
InternalEventStoreError(BoxDynError)
Trait Implementations§
source§impl Debug for EventStoreError
impl Debug for EventStoreError
source§impl Display for EventStoreError
impl Display for EventStoreError
source§impl Error for EventStoreError
impl Error for EventStoreError
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<MailboxError> for EventStoreError
impl From<MailboxError> for EventStoreError
source§impl From<StorageError> for EventStoreError
impl From<StorageError> for EventStoreError
source§fn from(error: StorageError) -> Self
fn from(error: StorageError) -> Self
Converts to this type from the input type.
source§impl From<UnsavedEventError> for EventStoreError
impl From<UnsavedEventError> for EventStoreError
source§fn from(e: UnsavedEventError) -> Self
fn from(e: UnsavedEventError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for EventStoreError
impl Send for EventStoreError
impl Sync for EventStoreError
impl Unpin for EventStoreError
impl !UnwindSafe for EventStoreError
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