pub enum CommitError<StoreError>where
StoreError: Error,{
Serialization {
index: usize,
source: StoreError,
},
Store(StoreError),
}Expand description
Error from commit operations without version checking.
Variants§
Trait Implementations§
Source§impl<StoreError> Debug for CommitError<StoreError>
impl<StoreError> Debug for CommitError<StoreError>
Source§impl<StoreError> Display for CommitError<StoreError>
impl<StoreError> Display for CommitError<StoreError>
Source§impl<StoreError> Error for CommitError<StoreError>
impl<StoreError> Error for CommitError<StoreError>
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()
Auto Trait Implementations§
impl<StoreError> Freeze for CommitError<StoreError>where
StoreError: Freeze,
impl<StoreError> RefUnwindSafe for CommitError<StoreError>where
StoreError: RefUnwindSafe,
impl<StoreError> Send for CommitError<StoreError>where
StoreError: Send,
impl<StoreError> Sync for CommitError<StoreError>where
StoreError: Sync,
impl<StoreError> Unpin for CommitError<StoreError>where
StoreError: Unpin,
impl<StoreError> UnwindSafe for CommitError<StoreError>where
StoreError: UnwindSafe,
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