pub enum UnrecordError<ChangestoreError: Error + 'static, T: GraphTxnT + TreeTxnT> {
Changestore(ChangestoreError),
Txn(TxnErr<T::GraphError>),
Tree(TreeErr<T::TreeError>),
Block(BlockError<T::GraphError>),
InconsistentChange(InconsistentChange<T::GraphError>),
ChangeNotInChannel {
hash: ChangeId,
},
ChangeIsDependedUpon {
change_id: ChangeId,
dependent: ChangeId,
},
Missing(MissingError<T::GraphError>),
LocalApply(LocalApplyError<T>),
Apply(ApplyError<ChangestoreError, T>),
SmallStr(Error),
}Variants§
Changestore(ChangestoreError)
Txn(TxnErr<T::GraphError>)
Tree(TreeErr<T::TreeError>)
Block(BlockError<T::GraphError>)
InconsistentChange(InconsistentChange<T::GraphError>)
ChangeNotInChannel
Fields
§
hash: ChangeIdChangeIsDependedUpon
Missing(MissingError<T::GraphError>)
LocalApply(LocalApplyError<T>)
Apply(ApplyError<ChangestoreError, T>)
SmallStr(Error)
Trait Implementations§
Source§impl<ChangestoreError, T: GraphTxnT + TreeTxnT> Display for UnrecordError<ChangestoreError, T>where
ChangestoreError: Display + Error + 'static,
TxnErr<T::GraphError>: Display,
TreeErr<T::TreeError>: Display,
BlockError<T::GraphError>: Display,
InconsistentChange<T::GraphError>: Display,
MissingError<T::GraphError>: Display,
LocalApplyError<T>: Display,
ApplyError<ChangestoreError, T>: Display,
impl<ChangestoreError, T: GraphTxnT + TreeTxnT> Display for UnrecordError<ChangestoreError, T>where
ChangestoreError: Display + Error + 'static,
TxnErr<T::GraphError>: Display,
TreeErr<T::TreeError>: Display,
BlockError<T::GraphError>: Display,
InconsistentChange<T::GraphError>: Display,
MissingError<T::GraphError>: Display,
LocalApplyError<T>: Display,
ApplyError<ChangestoreError, T>: Display,
Source§impl<ChangestoreError: Error + 'static, T: GraphTxnT + TreeTxnT> Error for UnrecordError<ChangestoreError, T>where
TxnErr<T::GraphError>: Error,
TreeErr<T::TreeError>: Error,
BlockError<T::GraphError>: Error,
InconsistentChange<T::GraphError>: Error,
MissingError<T::GraphError>: Error,
LocalApplyError<T>: Error,
ApplyError<ChangestoreError, T>: Error,
Self: Debug + Display,
impl<ChangestoreError: Error + 'static, T: GraphTxnT + TreeTxnT> Error for UnrecordError<ChangestoreError, T>where
TxnErr<T::GraphError>: Error,
TreeErr<T::TreeError>: Error,
BlockError<T::GraphError>: Error,
InconsistentChange<T::GraphError>: Error,
MissingError<T::GraphError>: Error,
LocalApplyError<T>: Error,
ApplyError<ChangestoreError, T>: 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<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<ChangestoreError: Error + 'static, T: GraphTxnT + TreeTxnT> From<BlockError<<T as GraphTxnT>::GraphError>> for UnrecordError<ChangestoreError, T>
impl<ChangestoreError: Error + 'static, T: GraphTxnT + TreeTxnT> From<BlockError<<T as GraphTxnT>::GraphError>> for UnrecordError<ChangestoreError, T>
Source§fn from(source: BlockError<T::GraphError>) -> Self
fn from(source: BlockError<T::GraphError>) -> Self
Converts to this type from the input type.
Source§impl<ChangestoreError: Error + 'static, T: GraphTxnT + TreeTxnT> From<Error> for UnrecordError<ChangestoreError, T>
impl<ChangestoreError: Error + 'static, T: GraphTxnT + TreeTxnT> From<Error> for UnrecordError<ChangestoreError, T>
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<ChangestoreError: Error + 'static, T: GraphTxnT + TreeTxnT> From<LocalApplyError<T>> for UnrecordError<ChangestoreError, T>
impl<ChangestoreError: Error + 'static, T: GraphTxnT + TreeTxnT> From<LocalApplyError<T>> for UnrecordError<ChangestoreError, T>
Source§fn from(source: LocalApplyError<T>) -> Self
fn from(source: LocalApplyError<T>) -> 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.
Source§impl<ChangestoreError: Error + 'static, T: GraphTxnT + TreeTxnT> From<TreeErr<<T as TreeTxnT>::TreeError>> for UnrecordError<ChangestoreError, T>
impl<ChangestoreError: Error + 'static, T: GraphTxnT + TreeTxnT> From<TreeErr<<T as TreeTxnT>::TreeError>> for UnrecordError<ChangestoreError, T>
Source§impl<ChangestoreError: Error + 'static, T: GraphTxnT + TreeTxnT> From<TxnErr<<T as GraphTxnT>::GraphError>> for UnrecordError<ChangestoreError, T>
impl<ChangestoreError: Error + 'static, T: GraphTxnT + TreeTxnT> From<TxnErr<<T as GraphTxnT>::GraphError>> for UnrecordError<ChangestoreError, T>
Source§fn from(source: TxnErr<T::GraphError>) -> Self
fn from(source: TxnErr<T::GraphError>) -> Self
Converts to this type from the input type.
Source§impl<P: Error + 'static, T: GraphTxnT + TreeTxnT, A: Error + 'static> From<UnrecordError<P, T>> for ArchiveError<P, T, A>
impl<P: Error + 'static, T: GraphTxnT + TreeTxnT, A: Error + 'static> From<UnrecordError<P, T>> for ArchiveError<P, T, A>
Source§fn from(source: UnrecordError<P, T>) -> Self
fn from(source: UnrecordError<P, T>) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl<ChangestoreError, T> Freeze for UnrecordError<ChangestoreError, T>
impl<ChangestoreError, T> RefUnwindSafe for UnrecordError<ChangestoreError, T>where
ChangestoreError: RefUnwindSafe,
<T as GraphTxnT>::GraphError: RefUnwindSafe,
<T as TreeTxnT>::TreeError: RefUnwindSafe,
impl<ChangestoreError, T> Send for UnrecordError<ChangestoreError, T>where
ChangestoreError: Send,
impl<ChangestoreError, T> Sync for UnrecordError<ChangestoreError, T>where
ChangestoreError: Sync,
impl<ChangestoreError, T> Unpin for UnrecordError<ChangestoreError, T>
impl<ChangestoreError, T> UnsafeUnpin for UnrecordError<ChangestoreError, T>where
ChangestoreError: UnsafeUnpin,
<T as GraphTxnT>::GraphError: UnsafeUnpin,
<T as TreeTxnT>::TreeError: UnsafeUnpin,
impl<ChangestoreError, T> UnwindSafe for UnrecordError<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