pub enum ApplyError<ChangestoreError: Error, T: GraphTxnT + TreeTxnT> {
Changestore(ChangestoreError),
LocalChange(LocalApplyError<T>),
MakeChange(MakeChangeError<T>),
}Variants§
Trait Implementations§
Source§impl<C: Error, T: GraphTxnT + TreeTxnT> Error for ApplyError<C, T>
impl<C: Error, T: GraphTxnT + TreeTxnT> Error for ApplyError<C, T>
1.30.0 · 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<ChangestoreError: Error + 'static, T: GraphTxnT + TreeTxnT> From<ApplyError<ChangestoreError, T>> for UnrecordError<ChangestoreError, T>
impl<ChangestoreError: Error + 'static, T: GraphTxnT + TreeTxnT> From<ApplyError<ChangestoreError, T>> for UnrecordError<ChangestoreError, T>
Source§fn from(source: ApplyError<ChangestoreError, T>) -> Self
fn from(source: ApplyError<ChangestoreError, T>) -> Self
Converts to this type from the input type.
Source§impl<P: Error + 'static, T: GraphTxnT + TreeTxnT, A: Error + 'static> From<ApplyError<P, T>> for ArchiveError<P, T, A>
impl<P: Error + 'static, T: GraphTxnT + TreeTxnT, A: Error + 'static> From<ApplyError<P, T>> for ArchiveError<P, T, A>
Source§fn from(source: ApplyError<P, T>) -> Self
fn from(source: ApplyError<P, T>) -> Self
Converts to this type from the input type.
Source§impl<C: Error, T: GraphTxnT + TreeTxnT> From<BlockError<<T as GraphTxnT>::GraphError>> for ApplyError<C, T>
impl<C: Error, T: GraphTxnT + TreeTxnT> From<BlockError<<T as GraphTxnT>::GraphError>> for ApplyError<C, T>
Source§fn from(err: BlockError<T::GraphError>) -> Self
fn from(err: BlockError<T::GraphError>) -> Self
Converts to this type from the input type.
Source§impl<C: Error, T: GraphTxnT + TreeTxnT> From<MakeChangeError<T>> for ApplyError<C, T>
impl<C: Error, T: GraphTxnT + TreeTxnT> From<MakeChangeError<T>> for ApplyError<C, T>
Source§fn from(err: MakeChangeError<T>) -> Self
fn from(err: MakeChangeError<T>) -> Self
Converts to this type from the input type.
Source§impl<C: Error, T: GraphTxnT + TreeTxnT> From<TreeErr<<T as TreeTxnT>::TreeError>> for ApplyError<C, T>
impl<C: Error, T: GraphTxnT + TreeTxnT> From<TreeErr<<T as TreeTxnT>::TreeError>> for ApplyError<C, T>
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.
Auto Trait Implementations§
impl<ChangestoreError, T> Freeze for ApplyError<ChangestoreError, T>
impl<ChangestoreError, T> RefUnwindSafe for ApplyError<ChangestoreError, T>where
ChangestoreError: RefUnwindSafe,
<T as GraphTxnT>::GraphError: RefUnwindSafe,
<T as TreeTxnT>::TreeError: RefUnwindSafe,
impl<ChangestoreError, T> Send for ApplyError<ChangestoreError, T>where
ChangestoreError: Send,
impl<ChangestoreError, T> Sync for ApplyError<ChangestoreError, T>where
ChangestoreError: Sync,
impl<ChangestoreError, T> Unpin for ApplyError<ChangestoreError, T>
impl<ChangestoreError, T> UnsafeUnpin for ApplyError<ChangestoreError, T>where
ChangestoreError: UnsafeUnpin,
<T as GraphTxnT>::GraphError: UnsafeUnpin,
<T as TreeTxnT>::TreeError: UnsafeUnpin,
impl<ChangestoreError, T> UnwindSafe for ApplyError<ChangestoreError, T>where
ChangestoreError: UnwindSafe,
<T as GraphTxnT>::GraphError: UnwindSafe,
<T as TreeTxnT>::TreeError: 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