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