pub enum OutputError<ChangestoreError: Error + 'static, T: GraphTxnT + TreeTxnT, W: Error + Send + 'static> {
WorkingCopy(W),
Pristine(PristineOutputError<ChangestoreError, T>),
SmallString(Error),
}Variants§
Trait Implementations§
Source§impl<ChangestoreError: Error + 'static, T: GraphTxnT + TreeTxnT, W: Error + Send + 'static> Error for OutputError<ChangestoreError, T, W>
impl<ChangestoreError: Error + 'static, T: GraphTxnT + TreeTxnT, W: Error + Send + 'static> Error for OutputError<ChangestoreError, T, W>
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<ChangestoreError: Error + 'static, T: GraphTxnT + TreeTxnT, W: Error + Send + 'static> From<Error> for OutputError<ChangestoreError, T, W>
impl<ChangestoreError: Error + 'static, T: GraphTxnT + TreeTxnT, W: Error + Send + 'static> From<Error> for OutputError<ChangestoreError, T, W>
Source§impl<ChangestoreError: Error + 'static, T: GraphTxnT + TreeTxnT, W: Error + Send + 'static> From<PristineOutputError<ChangestoreError, T>> for OutputError<ChangestoreError, T, W>
impl<ChangestoreError: Error + 'static, T: GraphTxnT + TreeTxnT, W: Error + Send + 'static> From<PristineOutputError<ChangestoreError, T>> for OutputError<ChangestoreError, T, W>
Source§fn from(source: PristineOutputError<ChangestoreError, T>) -> Self
fn from(source: PristineOutputError<ChangestoreError, T>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<ChangestoreError, T, W> !RefUnwindSafe for OutputError<ChangestoreError, T, W>
impl<ChangestoreError, T, W> !UnwindSafe for OutputError<ChangestoreError, T, W>
impl<ChangestoreError, T, W> Freeze for OutputError<ChangestoreError, T, W>
impl<ChangestoreError, T, W> Send for OutputError<ChangestoreError, T, W>where
ChangestoreError: Send,
impl<ChangestoreError, T, W> Sync for OutputError<ChangestoreError, T, W>
impl<ChangestoreError, T, W> Unpin for OutputError<ChangestoreError, T, W>
impl<ChangestoreError, T, W> UnsafeUnpin for OutputError<ChangestoreError, T, W>where
W: UnsafeUnpin,
ChangestoreError: UnsafeUnpin,
<T as GraphTxnT>::GraphError: UnsafeUnpin,
<T as TreeTxnT>::TreeError: UnsafeUnpin,
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