Enum libpijul::UnrecordError [−][src]
pub enum UnrecordError<ChangestoreError: Error + 'static, TxnError: Error + 'static> {
Changestore(ChangestoreError),
Txn(TxnError),
Block(BlockError<TxnError>),
InconsistentChange(InconsistentChange<TxnError>),
ChangeNotInChannel {
hash: ChangeId,
},
ChangeIsDependedUpon {
change_id: ChangeId,
dependent: ChangeId,
},
Missing(MissingError<TxnError>),
LocalApply(LocalApplyError<TxnError>),
Apply(ApplyError<ChangestoreError, TxnError>),
}
Variants
Block(BlockError<TxnError>)
Tuple Fields of Block
0: BlockError<TxnError>
InconsistentChange(InconsistentChange<TxnError>)
Tuple Fields of InconsistentChange
0: InconsistentChange<TxnError>
LocalApply(LocalApplyError<TxnError>)
Tuple Fields of LocalApply
0: LocalApplyError<TxnError>
Apply(ApplyError<ChangestoreError, TxnError>)
Tuple Fields of Apply
0: ApplyError<ChangestoreError, TxnError>
Trait Implementations
impl<ChangestoreError: Error + 'static, TxnError: Error + 'static> Display for UnrecordError<ChangestoreError, TxnError> where
ChangestoreError: Display,
TxnError: Display,
BlockError<TxnError>: Display,
InconsistentChange<TxnError>: Display,
MissingError<TxnError>: Display,
LocalApplyError<TxnError>: Display,
ApplyError<ChangestoreError, TxnError>: Display,
impl<ChangestoreError: Error + 'static, TxnError: Error + 'static> Display for UnrecordError<ChangestoreError, TxnError> where
ChangestoreError: Display,
TxnError: Display,
BlockError<TxnError>: Display,
InconsistentChange<TxnError>: Display,
MissingError<TxnError>: Display,
LocalApplyError<TxnError>: Display,
ApplyError<ChangestoreError, TxnError>: Display,
impl<ChangestoreError: Error + 'static, TxnError: Error + 'static> Error for UnrecordError<ChangestoreError, TxnError> where
TxnError: Error,
BlockError<TxnError>: Error,
InconsistentChange<TxnError>: Error,
MissingError<TxnError>: Error,
LocalApplyError<TxnError>: Error,
ApplyError<ChangestoreError, TxnError>: Error,
Self: Debug + Display,
impl<ChangestoreError: Error + 'static, TxnError: Error + 'static> Error for UnrecordError<ChangestoreError, TxnError> where
TxnError: Error,
BlockError<TxnError>: Error,
InconsistentChange<TxnError>: Error,
MissingError<TxnError>: Error,
LocalApplyError<TxnError>: Error,
ApplyError<ChangestoreError, TxnError>: Error,
Self: Debug + Display,
impl<ChangestoreError: Error + 'static, TxnError: Error + 'static> From<ApplyError<ChangestoreError, TxnError>> for UnrecordError<ChangestoreError, TxnError>
impl<ChangestoreError: Error + 'static, TxnError: Error + 'static> From<ApplyError<ChangestoreError, TxnError>> for UnrecordError<ChangestoreError, TxnError>
Performs the conversion.
impl<ChangestoreError: Error + 'static, TxnError: Error + 'static> From<BlockError<TxnError>> for UnrecordError<ChangestoreError, TxnError>
impl<ChangestoreError: Error + 'static, TxnError: Error + 'static> From<BlockError<TxnError>> for UnrecordError<ChangestoreError, TxnError>
Performs the conversion.
impl<ChangestoreError: Error + 'static, TxnError: Error + 'static> From<InconsistentChange<TxnError>> for UnrecordError<ChangestoreError, TxnError>
impl<ChangestoreError: Error + 'static, TxnError: Error + 'static> From<InconsistentChange<TxnError>> for UnrecordError<ChangestoreError, TxnError>
Performs the conversion.
impl<ChangestoreError: Error + 'static, TxnError: Error + 'static> From<LocalApplyError<TxnError>> for UnrecordError<ChangestoreError, TxnError>
impl<ChangestoreError: Error + 'static, TxnError: Error + 'static> From<LocalApplyError<TxnError>> for UnrecordError<ChangestoreError, TxnError>
Performs the conversion.
impl<P: Error + 'static, T: Error + 'static, A: Error + 'static> From<UnrecordError<P, T>> for ArchiveError<P, T, A>
impl<P: Error + 'static, T: Error + 'static, A: Error + 'static> From<UnrecordError<P, T>> for ArchiveError<P, T, A>
Performs the conversion.