pub enum Error<T: GraphTxnT + TreeTxnT> {
Remote(RemoteError),
Interaction(InteractionError),
Graph(<T as GraphTxnT>::GraphError),
TxnErrGraph(TxnErr<<T as GraphTxnT>::GraphError>),
SmallString(Error),
Sanakirja(SanakirjaError),
TxnErrSanakirja(TxnErr<SanakirjaError>),
Archive(ArchiveError<Error, T, Error>),
Concurrency,
Apply(ApplyError<Error, T>),
FsError(FsErrorC<Error, T>),
}Variants§
Remote(RemoteError)
Interaction(InteractionError)
Graph(<T as GraphTxnT>::GraphError)
TxnErrGraph(TxnErr<<T as GraphTxnT>::GraphError>)
SmallString(Error)
Sanakirja(SanakirjaError)
TxnErrSanakirja(TxnErr<SanakirjaError>)
Archive(ArchiveError<Error, T, Error>)
Concurrency
Apply(ApplyError<Error, T>)
FsError(FsErrorC<Error, T>)
Trait Implementations§
Source§impl<T: GraphTxnT + TreeTxnT> Display for Error<T>where
<T as GraphTxnT>::GraphError: Display,
TxnErr<<T as GraphTxnT>::GraphError>: Display,
ArchiveError<Error, T, Error>: Display,
ApplyError<Error, T>: Display,
FsErrorC<Error, T>: Display,
impl<T: GraphTxnT + TreeTxnT> Display for Error<T>where
<T as GraphTxnT>::GraphError: Display,
TxnErr<<T as GraphTxnT>::GraphError>: Display,
ArchiveError<Error, T, Error>: Display,
ApplyError<Error, T>: Display,
FsErrorC<Error, T>: Display,
Source§impl<T: GraphTxnT + TreeTxnT> Error for Error<T>
impl<T: GraphTxnT + TreeTxnT> Error for Error<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<T: GraphTxnT + TreeTxnT> From<ApplyError<Error, T>> for Error<T>
impl<T: GraphTxnT + TreeTxnT> From<ApplyError<Error, T>> for Error<T>
Source§fn from(source: ApplyError<Error, T>) -> Self
fn from(source: ApplyError<Error, T>) -> Self
Converts to this type from the input type.
Source§impl<T: GraphTxnT + TreeTxnT> From<InteractionError> for Error<T>
impl<T: GraphTxnT + TreeTxnT> From<InteractionError> for Error<T>
Source§fn from(source: InteractionError) -> Self
fn from(source: InteractionError) -> Self
Converts to this type from the input type.
Source§impl<T: GraphTxnT + TreeTxnT> From<RemoteError> for Error<T>
impl<T: GraphTxnT + TreeTxnT> From<RemoteError> for Error<T>
Source§fn from(source: RemoteError) -> Self
fn from(source: RemoteError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<T> !RefUnwindSafe for Error<T>
impl<T> !UnwindSafe for Error<T>
impl<T> Freeze for Error<T>
impl<T> Send for Error<T>
impl<T> Sync for Error<T>
impl<T> Unpin for Error<T>
impl<T> UnsafeUnpin for Error<T>
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