Enum libpijul::output::ArchiveError
source · pub enum ArchiveError<P: Error + 'static, T: GraphTxnT + TreeTxnT, A: Error + 'static> {
A(A),
P(P),
Txn(TxnErr<T::GraphError>),
Tree(TreeErr<T::TreeError>),
Unrecord(UnrecordError<P, T>),
Apply(ApplyError<P, T>),
StateNotFound {
state: Merkle,
},
File(FileError<P, T>),
Output(PristineOutputError<P, T>),
}
Variants§
A(A)
P(P)
Txn(TxnErr<T::GraphError>)
Tree(TreeErr<T::TreeError>)
Unrecord(UnrecordError<P, T>)
Apply(ApplyError<P, T>)
StateNotFound
Fields
§
state: Merkle
File(FileError<P, T>)
Output(PristineOutputError<P, T>)
Trait Implementations§
source§impl<P: Error + 'static, T: GraphTxnT + TreeTxnT, A: Error + 'static> Debug for ArchiveError<P, T, A>
impl<P: Error + 'static, T: GraphTxnT + TreeTxnT, A: Error + 'static> Debug for ArchiveError<P, T, A>
source§impl<P, T: GraphTxnT + TreeTxnT, A> Display for ArchiveError<P, T, A>where
A: Display + Error + 'static,
P: Display + Error + 'static,
UnrecordError<P, T>: Display,
ApplyError<P, T>: Display,
FileError<P, T>: Display,
PristineOutputError<P, T>: Display,
impl<P, T: GraphTxnT + TreeTxnT, A> Display for ArchiveError<P, T, A>where A: Display + Error + 'static, P: Display + Error + 'static, UnrecordError<P, T>: Display, ApplyError<P, T>: Display, FileError<P, T>: Display, PristineOutputError<P, T>: Display,
source§impl<P, T: GraphTxnT + TreeTxnT, A> Error for ArchiveError<P, T, A>where
A: Error + 'static,
P: Error + 'static,
UnrecordError<P, T>: Error,
ApplyError<P, T>: Error,
FileError<P, T>: Error,
PristineOutputError<P, T>: Error,
Self: Debug + Display,
impl<P, T: GraphTxnT + TreeTxnT, A> Error for ArchiveError<P, T, A>where A: Error + 'static, P: Error + 'static, UnrecordError<P, T>: Error, ApplyError<P, T>: Error, FileError<P, T>: Error, PristineOutputError<P, 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<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<P: Error + 'static, T: GraphTxnT + TreeTxnT, A: Error + 'static> From<FileError<P, T>> for ArchiveError<P, T, A>
impl<P: Error + 'static, T: GraphTxnT + TreeTxnT, A: Error + 'static> From<FileError<P, T>> for ArchiveError<P, T, A>
source§impl<P: Error + 'static, T: GraphTxnT + TreeTxnT, A: Error + 'static> From<PristineOutputError<P, T>> for ArchiveError<P, T, A>
impl<P: Error + 'static, T: GraphTxnT + TreeTxnT, A: Error + 'static> From<PristineOutputError<P, T>> for ArchiveError<P, T, A>
source§fn from(source: PristineOutputError<P, T>) -> Self
fn from(source: PristineOutputError<P, T>) -> Self
Converts to this type from the input type.
source§impl<P: Error + 'static, T: GraphTxnT + TreeTxnT, A: Error + 'static> From<TreeErr<<T as TreeTxnT>::TreeError>> for ArchiveError<P, T, A>
impl<P: Error + 'static, T: GraphTxnT + TreeTxnT, A: Error + 'static> From<TreeErr<<T as TreeTxnT>::TreeError>> for ArchiveError<P, T, A>
source§impl<P: Error + 'static, T: GraphTxnT + TreeTxnT, A: Error + 'static> From<TxnErr<<T as GraphTxnT>::GraphError>> for ArchiveError<P, T, A>
impl<P: Error + 'static, T: GraphTxnT + TreeTxnT, A: Error + 'static> From<TxnErr<<T as GraphTxnT>::GraphError>> for ArchiveError<P, T, A>
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<P, T, A> !RefUnwindSafe for ArchiveError<P, T, A>
impl<P, T, A> Send for ArchiveError<P, T, A>where A: Send, P: Send,
impl<P, T, A> Sync for ArchiveError<P, T, A>where A: Sync, P: Sync,
impl<P, T, A> Unpin for ArchiveError<P, T, A>where A: Unpin, P: Unpin, <T as GraphTxnT>::GraphError: Unpin, <T as TreeTxnT>::TreeError: Unpin,
impl<P, T, A> !UnwindSafe for ArchiveError<P, T, A>
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