Enum libpijul::UnrecordError
source · 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>),
}
Variants§
Changestore(ChangestoreError)
Txn(TxnErr<T::GraphError>)
Tree(TreeErr<T::TreeError>)
Block(BlockError<T::GraphError>)
InconsistentChange(InconsistentChange<T::GraphError>)
ChangeNotInChannel
Fields
§
hash: ChangeId
ChangeIsDependedUpon
Missing(MissingError<T::GraphError>)
LocalApply(LocalApplyError<T>)
Apply(ApplyError<ChangestoreError, T>)
Trait Implementations§
source§impl<ChangestoreError, T: GraphTxnT + TreeTxnT> Display for UnrecordError<ChangestoreError, T>where
ChangestoreError: Display + Error + 'static,
LocalApplyError<T>: Display,
ApplyError<ChangestoreError, T>: Display,
impl<ChangestoreError, T: GraphTxnT + TreeTxnT> Display for UnrecordError<ChangestoreError, T>where ChangestoreError: Display + Error + 'static, LocalApplyError<T>: Display, ApplyError<ChangestoreError, T>: Display,
source§impl<ChangestoreError: Error + 'static, T: GraphTxnT + TreeTxnT> Error for UnrecordError<ChangestoreError, T>where
LocalApplyError<T>: Error,
ApplyError<ChangestoreError, T>: Error,
Self: Debug + Display,
impl<ChangestoreError: Error + 'static, T: GraphTxnT + TreeTxnT> Error for UnrecordError<ChangestoreError, T>where 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)>
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<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<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> 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>where ChangestoreError: Unpin, <T as GraphTxnT>::GraphError: Unpin, <T as TreeTxnT>::TreeError: Unpin,
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