pub enum DumpTxOutSetError {
CoinsWritten(ParseAmountError),
BaseHash(HexToArrayError),
TxOutSetHash(HexToArrayError),
Numeric(NumericError),
}Expand description
Error when converting a DumpTxOutSet type into the model type.
Variants§
CoinsWritten(ParseAmountError)
Conversion of the coins_written field to Amount failed.
BaseHash(HexToArrayError)
Conversion of the base_hash field failed.
TxOutSetHash(HexToArrayError)
Conversion of the txoutset_hash field failed.
Numeric(NumericError)
Conversion of numeric type to expected type failed.
Trait Implementations§
Source§impl Debug for DumpTxOutSetError
impl Debug for DumpTxOutSetError
Source§impl Display for DumpTxOutSetError
impl Display for DumpTxOutSetError
Source§impl Error for DumpTxOutSetError
Available on crate feature std only.
impl Error for DumpTxOutSetError
Available on crate feature
std only.Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<NumericError> for DumpTxOutSetError
impl From<NumericError> for DumpTxOutSetError
Source§fn from(e: NumericError) -> DumpTxOutSetError
fn from(e: NumericError) -> DumpTxOutSetError
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DumpTxOutSetError
impl RefUnwindSafe for DumpTxOutSetError
impl Send for DumpTxOutSetError
impl Sync for DumpTxOutSetError
impl Unpin for DumpTxOutSetError
impl UnsafeUnpin for DumpTxOutSetError
impl UnwindSafe for DumpTxOutSetError
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