pub enum Error {
BlockHeightOutOfRange,
InputIndexOutOfRange,
OutputIndexOutOfRange,
ChecksumOutOfRange,
DimensionRequired,
UpgradeImpossible,
DowngradeImpossible,
}Expand description
Errors from descriptor validation and parsing
Variants
BlockHeightOutOfRange
invalid block height
InputIndexOutOfRange
invalid tx input index
OutputIndexOutOfRange
invalid tx output index
ChecksumOutOfRange
invalid tx checksum
DimensionRequired
tx dimension not defined
UpgradeImpossible
descriptor upgrade
DowngradeImpossible
descriptor downgrade
Trait Implementations
impl Copy for Error
impl Eq for Error
impl StructuralEq for Error
impl StructuralPartialEq for Error
Auto Trait Implementations
impl RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl UnwindSafe for Error
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more