pub enum MissingError<TxnError: Error + 'static> {
Txn(TxnError),
Block(BlockError<TxnError>),
Inconsistent(InconsistentChange<TxnError>),
}Variants§
Trait Implementations§
Source§impl<TxnError> Display for MissingError<TxnError>where
TxnError: Display + Error + 'static,
BlockError<TxnError>: Display,
InconsistentChange<TxnError>: Display,
impl<TxnError> Display for MissingError<TxnError>where
TxnError: Display + Error + 'static,
BlockError<TxnError>: Display,
InconsistentChange<TxnError>: Display,
Source§impl<TxnError> Error for MissingError<TxnError>where
TxnError: Error + Error + 'static,
BlockError<TxnError>: Error,
InconsistentChange<TxnError>: Error,
Self: Debug + Display,
impl<TxnError> Error for MissingError<TxnError>where
TxnError: Error + Error + 'static,
BlockError<TxnError>: Error,
InconsistentChange<TxnError>: Error,
Self: Debug + Display,
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<TxnError: Error + 'static> From<BlockError<TxnError>> for MissingError<TxnError>
impl<TxnError: Error + 'static> From<BlockError<TxnError>> for MissingError<TxnError>
Source§fn from(source: BlockError<TxnError>) -> Self
fn from(source: BlockError<TxnError>) -> Self
Converts to this type from the input type.
Source§impl<TxnError: Error + 'static> From<InconsistentChange<TxnError>> for MissingError<TxnError>
impl<TxnError: Error + 'static> From<InconsistentChange<TxnError>> for MissingError<TxnError>
Source§fn from(source: InconsistentChange<TxnError>) -> Self
fn from(source: InconsistentChange<TxnError>) -> Self
Converts to this type from the input type.
Source§impl<ChangestoreError: Error + 'static, T: GraphTxnT + TreeTxnT> From<MissingError<<T as GraphTxnT>::GraphError>> for UnrecordError<ChangestoreError, T>
impl<ChangestoreError: Error + 'static, T: GraphTxnT + TreeTxnT> From<MissingError<<T as GraphTxnT>::GraphError>> for UnrecordError<ChangestoreError, T>
Source§fn from(source: MissingError<T::GraphError>) -> Self
fn from(source: MissingError<T::GraphError>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<TxnError> Freeze for MissingError<TxnError>where
TxnError: Freeze,
impl<TxnError> RefUnwindSafe for MissingError<TxnError>where
TxnError: RefUnwindSafe,
impl<TxnError> Send for MissingError<TxnError>where
TxnError: Send,
impl<TxnError> Sync for MissingError<TxnError>where
TxnError: Sync,
impl<TxnError> Unpin for MissingError<TxnError>where
TxnError: Unpin,
impl<TxnError> UnsafeUnpin for MissingError<TxnError>where
TxnError: UnsafeUnpin,
impl<TxnError> UnwindSafe for MissingError<TxnError>where
TxnError: 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