Enum dapol::InclusionProofError
source · pub enum InclusionProofError {
TreePathSiblingsError(PathSiblingsError),
RootMismatch,
RangeProofError(RangeProofError),
SerdeError(ReadWriteError),
UnsupportedFileType {
ext: String,
},
UnknownFileType(OsString),
}
Expand description
Errors encountered when handling InclusionProof.
Variants§
TreePathSiblingsError(PathSiblingsError)
RootMismatch
RangeProofError(RangeProofError)
SerdeError(ReadWriteError)
UnsupportedFileType
UnknownFileType(OsString)
Trait Implementations§
source§impl Debug for InclusionProofError
impl Debug for InclusionProofError
source§impl Display for InclusionProofError
impl Display for InclusionProofError
source§impl Error for InclusionProofError
impl Error for InclusionProofError
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 From<ReadWriteError> for InclusionProofError
impl From<ReadWriteError> for InclusionProofError
source§fn from(source: ReadWriteError) -> Self
fn from(source: ReadWriteError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for InclusionProofError
impl Send for InclusionProofError
impl Sync for InclusionProofError
impl Unpin for InclusionProofError
impl !UnwindSafe for InclusionProofError
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