pub enum TransactionError {
Show 32 variants
AddressError(AddressError),
AmountError(AmountError),
ConflictingWitnessAnchors(),
Crate(&'static str, String),
FailedNoteDecryption(String),
InvalidBindingSig(),
InvalidChainId(u8),
InvalidEphemeralKey(String),
InvalidInputs(String),
InvalidOutputAddress(String),
InvalidOutputDescription(String),
InvalidRlpLength(usize),
InvalidScriptPubKey(String),
InvalidSegwitFlag(usize),
InvalidSpendDescription,
InvalidTransactionId(usize),
InvalidTransactionState,
InvalidVariableSizeInteger(usize),
Message(String),
MissingDiversifier,
MissingOutpointAddress,
MissingOutpointAmount,
MissingOutpointScriptPublicKey,
MissingOutputParameters,
MissingSpendDescription,
MissingSpendParameters,
MissingSignature,
NullError(()),
UnsupportedJoinsplits,
UnsupportedPreimage(String),
EndOfObject,
EndOfArray,
}
Variants§
AddressError(AddressError)
AmountError(AmountError)
ConflictingWitnessAnchors()
Crate(&'static str, String)
FailedNoteDecryption(String)
InvalidBindingSig()
InvalidChainId(u8)
InvalidEphemeralKey(String)
InvalidInputs(String)
InvalidOutputAddress(String)
InvalidOutputDescription(String)
InvalidRlpLength(usize)
InvalidScriptPubKey(String)
InvalidSegwitFlag(usize)
InvalidSpendDescription
InvalidTransactionId(usize)
InvalidTransactionState
InvalidVariableSizeInteger(usize)
Message(String)
MissingDiversifier
MissingOutpointAddress
MissingOutpointAmount
MissingOutpointScriptPublicKey
MissingOutputParameters
MissingSpendDescription
MissingSpendParameters
MissingSignature
NullError(())
UnsupportedJoinsplits
UnsupportedPreimage(String)
EndOfObject
EndOfArray
Trait Implementations§
Source§impl Debug for TransactionError
impl Debug for TransactionError
Source§impl Display for TransactionError
impl Display for TransactionError
Source§impl Error for TransactionError
impl Error for TransactionError
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<&'static str> for TransactionError
impl From<&'static str> for TransactionError
Source§impl From<()> for TransactionError
impl From<()> for TransactionError
Source§impl From<AddressError> for TransactionError
impl From<AddressError> for TransactionError
Source§fn from(source: AddressError) -> Self
fn from(source: AddressError) -> Self
Converts to this type from the input type.
Source§impl From<AmountError> for TransactionError
impl From<AmountError> for TransactionError
Source§fn from(source: AmountError) -> Self
fn from(source: AmountError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for TransactionError
impl From<Error> for TransactionError
Source§impl From<Error> for TransactionError
impl From<Error> for TransactionError
Source§impl From<Error> for TransactionError
impl From<Error> for TransactionError
Source§impl From<FromBase58Error> for TransactionError
impl From<FromBase58Error> for TransactionError
Source§fn from(error: FromBase58Error) -> Self
fn from(error: FromBase58Error) -> Self
Converts to this type from the input type.
Source§impl From<FromHexError> for TransactionError
impl From<FromHexError> for TransactionError
Source§fn from(error: FromHexError) -> Self
fn from(error: FromHexError) -> Self
Converts to this type from the input type.
Source§impl From<ParseBoolError> for TransactionError
impl From<ParseBoolError> for TransactionError
Source§fn from(error: ParseBoolError) -> Self
fn from(error: ParseBoolError) -> Self
Converts to this type from the input type.
Source§impl From<ParseIntError> for TransactionError
impl From<ParseIntError> for TransactionError
Source§fn from(error: ParseIntError) -> Self
fn from(error: ParseIntError) -> Self
Converts to this type from the input type.
Source§impl From<TransactionError> for Error
impl From<TransactionError> for Error
Source§fn from(source: TransactionError) -> Self
fn from(source: TransactionError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TransactionError
impl RefUnwindSafe for TransactionError
impl Send for TransactionError
impl Sync for TransactionError
impl Unpin for TransactionError
impl UnwindSafe for TransactionError
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