pub struct TxnErr<E: Error + Debug + 'static>(pub E);
Tuple Fields§
§0: E
Trait Implementations§
source§impl<E> Error for TxnErr<E>
impl<E> Error for TxnErr<E>
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<C: Error, T: GraphTxnT + TreeTxnT> From<TxnErr<<T as GraphTxnT>::GraphError>> for ApplyError<C, T>
impl<C: Error, T: GraphTxnT + TreeTxnT> From<TxnErr<<T as GraphTxnT>::GraphError>> for ApplyError<C, T>
source§fn from(err: TxnErr<T::GraphError>) -> Self
fn from(err: TxnErr<T::GraphError>) -> Self
Converts to this type from the input type.
source§impl<P: Error + 'static, T: GraphTxnT + TreeTxnT, A: Error + 'static> From<TxnErr<<T as GraphTxnT>::GraphError>> for ArchiveError<P, T, A>
impl<P: Error + 'static, T: GraphTxnT + TreeTxnT, A: Error + 'static> From<TxnErr<<T as GraphTxnT>::GraphError>> for ArchiveError<P, T, A>
source§fn from(source: TxnErr<T::GraphError>) -> Self
fn from(source: TxnErr<T::GraphError>) -> Self
Converts to this type from the input type.
source§impl<C: Error + 'static, T: GraphTxnT + TreeTxnT> From<TxnErr<<T as GraphTxnT>::GraphError>> for Error<C, T>
impl<C: Error + 'static, T: GraphTxnT + TreeTxnT> From<TxnErr<<T as GraphTxnT>::GraphError>> for Error<C, T>
source§fn from(source: TxnErr<T::GraphError>) -> Self
fn from(source: TxnErr<T::GraphError>) -> Self
Converts to this type from the input type.
source§impl<ChangestoreError: Error + Debug + 'static, T: GraphTxnT> From<TxnErr<<T as GraphTxnT>::GraphError>> for FileError<ChangestoreError, T>
impl<ChangestoreError: Error + Debug + 'static, T: GraphTxnT> From<TxnErr<<T as GraphTxnT>::GraphError>> for FileError<ChangestoreError, T>
source§fn from(source: TxnErr<T::GraphError>) -> Self
fn from(source: TxnErr<T::GraphError>) -> Self
Converts to this type from the input type.
source§impl<C: Error + 'static, T: GraphTxnT> From<TxnErr<<T as GraphTxnT>::GraphError>> for FsErrorC<C, T>
impl<C: Error + 'static, T: GraphTxnT> From<TxnErr<<T as GraphTxnT>::GraphError>> for FsErrorC<C, T>
source§fn from(source: TxnErr<T::GraphError>) -> Self
fn from(source: TxnErr<T::GraphError>) -> Self
Converts to this type from the input type.
source§impl<T: GraphTxnT + TreeTxnT> From<TxnErr<<T as GraphTxnT>::GraphError>> for LocalApplyError<T>
impl<T: GraphTxnT + TreeTxnT> From<TxnErr<<T as GraphTxnT>::GraphError>> for LocalApplyError<T>
source§fn from(source: TxnErr<T::GraphError>) -> Self
fn from(source: TxnErr<T::GraphError>) -> Self
Converts to this type from the input type.
source§impl<T: GraphTxnT> From<TxnErr<<T as GraphTxnT>::GraphError>> for MakeChangeError<T>
impl<T: GraphTxnT> From<TxnErr<<T as GraphTxnT>::GraphError>> for MakeChangeError<T>
source§impl<C: Error, T: GraphTxnT + TreeTxnT, W: Error + Send> From<TxnErr<<T as GraphTxnT>::GraphError>> for OutputError<C, T, W>
impl<C: Error, T: GraphTxnT + TreeTxnT, W: Error + Send> From<TxnErr<<T as GraphTxnT>::GraphError>> for OutputError<C, T, W>
source§fn from(e: TxnErr<T::GraphError>) -> Self
fn from(e: TxnErr<T::GraphError>) -> Self
Converts to this type from the input type.
source§impl<ChangestoreError: Error, T: GraphTxnT + TreeTxnT> From<TxnErr<<T as GraphTxnT>::GraphError>> for PristineOutputError<ChangestoreError, T>
impl<ChangestoreError: Error, T: GraphTxnT + TreeTxnT> From<TxnErr<<T as GraphTxnT>::GraphError>> for PristineOutputError<ChangestoreError, T>
source§fn from(source: TxnErr<T::GraphError>) -> Self
fn from(source: TxnErr<T::GraphError>) -> Self
Converts to this type from the input type.
source§impl<C: Error + 'static, W: Error, T: GraphTxnT + TreeTxnT> From<TxnErr<<T as GraphTxnT>::GraphError>> for RecordError<C, W, T>
impl<C: Error + 'static, W: Error, T: GraphTxnT + TreeTxnT> From<TxnErr<<T as GraphTxnT>::GraphError>> for RecordError<C, W, T>
source§fn from(source: TxnErr<T::GraphError>) -> Self
fn from(source: TxnErr<T::GraphError>) -> Self
Converts to this type from the input type.
source§impl<ChangestoreError: Error + 'static, T: GraphTxnT + TreeTxnT> From<TxnErr<<T as GraphTxnT>::GraphError>> for UnrecordError<ChangestoreError, T>
impl<ChangestoreError: Error + 'static, T: GraphTxnT + TreeTxnT> From<TxnErr<<T as GraphTxnT>::GraphError>> for UnrecordError<ChangestoreError, T>
source§fn from(source: TxnErr<T::GraphError>) -> Self
fn from(source: TxnErr<T::GraphError>) -> Self
Converts to this type from the input type.
source§impl From<TxnErr<SanakirjaError>> for TagError
impl From<TxnErr<SanakirjaError>> for TagError
source§fn from(e: TxnErr<SanakirjaError>) -> Self
fn from(e: TxnErr<SanakirjaError>) -> Self
Converts to this type from the input type.
source§impl From<TxnErr<SanakirjaError>> for TxnErr<TagError>
impl From<TxnErr<SanakirjaError>> for TxnErr<TagError>
source§fn from(e: TxnErr<SanakirjaError>) -> Self
fn from(e: TxnErr<SanakirjaError>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<E> RefUnwindSafe for TxnErr<E>where
E: RefUnwindSafe,
impl<E> Send for TxnErr<E>where
E: Send,
impl<E> Sync for TxnErr<E>where
E: Sync,
impl<E> Unpin for TxnErr<E>where
E: Unpin,
impl<E> UnwindSafe for TxnErr<E>where
E: 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