pub enum TransactionParseError {
InvalidBase64(String),
InvalidBase58(String),
InvalidInstructionData(String),
InvalidPubkeyFormat(String),
InvalidSignatureLength(usize),
InvalidPubkeyLength(usize),
InvalidSignatureFormat(String),
InvalidBlockhashLength(usize),
InvalidBlockhashFormat(String),
InvalidFormat(String),
Serialization(String),
}Expand description
High-level transaction parsing errors (UI formats, textual fields).
Variants§
InvalidBase64(String)
InvalidBase58(String)
InvalidInstructionData(String)
InvalidPubkeyFormat(String)
InvalidSignatureLength(usize)
InvalidPubkeyLength(usize)
InvalidSignatureFormat(String)
InvalidBlockhashLength(usize)
InvalidBlockhashFormat(String)
InvalidFormat(String)
Serialization(String)
Trait Implementations§
Source§impl Debug for TransactionParseError
impl Debug for TransactionParseError
Source§impl Display for TransactionParseError
impl Display for TransactionParseError
Source§impl Error for TransactionParseError
impl Error for TransactionParseError
1.30.0 · 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<TransactionParseError> for ToolError
impl From<TransactionParseError> for ToolError
Source§fn from(source: TransactionParseError) -> Self
fn from(source: TransactionParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TransactionParseError
impl RefUnwindSafe for TransactionParseError
impl Send for TransactionParseError
impl Sync for TransactionParseError
impl Unpin for TransactionParseError
impl UnwindSafe for TransactionParseError
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