Enum snarkvm_objects::errors::transaction::TransactionError [−][src]
pub enum TransactionError {
AlreadySpent(Vec<u8>, u32),
DoubleSpend(String),
Crate(&'static str, String),
InsufficientFunds(u64, u64),
InvalidCoinbaseTransaction,
InvalidTransactionId(usize),
InvalidVariableSizeInteger(usize),
Message(String),
MissingOutpointScriptPublicKey,
MultipleCoinbaseTransactions(u32),
NullError(()),
}Variants
DoubleSpend(String)InvalidTransactionId(usize)InvalidVariableSizeInteger(usize)Message(String)MultipleCoinbaseTransactions(u32)NullError(())Trait Implementations
impl Debug for TransactionError[src]
impl Debug for TransactionError[src]impl Display for TransactionError[src]
impl Display for TransactionError[src]impl Error for TransactionError[src]
impl Error for TransactionError[src]fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]
fn source(&self) -> Option<&(dyn Error + 'static)>1.30.0[src]The lower-level source of this error, if any. Read more
fn backtrace(&self) -> Option<&Backtrace>[src]
fn backtrace(&self) -> Option<&Backtrace>[src]🔬 This is a nightly-only experimental API. (
backtrace)Returns a stack backtrace, if available, of where this error occurred. Read more
fn description(&self) -> &str1.0.0[src]
fn description(&self) -> &str1.0.0[src]👎 Deprecated since 1.42.0:
use the Display impl or to_string()
impl From<&'static str> for TransactionError[src]
impl From<&'static str> for TransactionError[src]impl From<Error> for TransactionError[src]
impl From<Error> for TransactionError[src]impl From<FromHexError> for TransactionError[src]
impl From<FromHexError> for TransactionError[src]fn from(error: FromHexError) -> Self[src]
fn from(error: FromHexError) -> Self[src]Performs the conversion.
impl From<ParseBoolError> for TransactionError[src]
impl From<ParseBoolError> for TransactionError[src]fn from(error: ParseBoolError) -> Self[src]
fn from(error: ParseBoolError) -> Self[src]Performs the conversion.
impl From<ParseIntError> for TransactionError[src]
impl From<ParseIntError> for TransactionError[src]fn from(error: ParseIntError) -> Self[src]
fn from(error: ParseIntError) -> Self[src]Performs the conversion.
impl From<TransactionError> for BlockError[src]
impl From<TransactionError> for BlockError[src]fn from(error: TransactionError) -> Self[src]
fn from(error: TransactionError) -> Self[src]Performs the conversion.
impl From<TransactionError> for StorageError[src]
impl From<TransactionError> for StorageError[src]fn from(error: TransactionError) -> Self[src]
fn from(error: TransactionError) -> Self[src]Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for TransactionError
impl Send for TransactionError
impl Sync for TransactionError
impl Unpin for TransactionError
impl UnwindSafe for TransactionError
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for Timpl<T> Same<T> for T
impl<T> Same<T> for Ttype Output = T
type Output = TShould always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,