pub enum Error<C: Error + 'static, T: GraphTxnT + TreeTxnT> {
Add(AddError<T>),
Record(RecordError<C, Error, T>),
Txn(TxnErr<T::GraphError>),
Tree(TreeErr<T::TreeError>),
}Variants§
Add(AddError<T>)
Record(RecordError<C, Error, T>)
Txn(TxnErr<T::GraphError>)
Tree(TreeErr<T::TreeError>)
Trait Implementations§
Source§impl<C: Error + 'static, T: GraphTxnT + TreeTxnT> Error for Error<C, T>
impl<C: Error + 'static, T: GraphTxnT + TreeTxnT> Error for Error<C, T>
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<C: Error + 'static, T: GraphTxnT + TreeTxnT> From<RecordError<C, Error, T>> for Error<C, T>
impl<C: Error + 'static, T: GraphTxnT + TreeTxnT> From<RecordError<C, Error, T>> for Error<C, T>
Source§fn from(source: RecordError<C, Error, T>) -> Self
fn from(source: RecordError<C, Error, T>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<C, T> !RefUnwindSafe for Error<C, T>
impl<C, T> !UnwindSafe for Error<C, T>
impl<C, T> Freeze for Error<C, T>
impl<C, T> Send for Error<C, T>where
C: Send,
impl<C, T> Sync for Error<C, T>where
C: Sync,
impl<C, T> Unpin for Error<C, T>
impl<C, T> UnsafeUnpin for Error<C, T>where
C: 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