Struct solana_storage_proto::convert::tx_by_addr::TransactionError[][src]

pub struct TransactionError {
    pub transaction_error: i32,
    pub instruction_error: Option<InstructionError>,
}

Fields

transaction_error: i32instruction_error: Option<InstructionError>

Implementations

impl TransactionError[src]

pub fn transaction_error(&self) -> TransactionErrorType[src]

Returns the enum value of transaction_error, or the default if the field is set to an invalid enum value.

pub fn set_transaction_error(&mut self, value: TransactionErrorType)[src]

Sets transaction_error to the provided enum value.

Trait Implementations

impl Clone for TransactionError[src]

impl Debug for TransactionError[src]

impl Default for TransactionError[src]

impl From<TransactionError> for TransactionError[src]

impl Message for TransactionError[src]

impl PartialEq<TransactionError> for TransactionError[src]

impl StructuralPartialEq for TransactionError[src]

impl TryFrom<TransactionError> for TransactionError[src]

type Error = &'static str

The type returned in the event of a conversion error.

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> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> MaybeDebug for T where
    T: Debug
[src]

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

impl<T> Same<T> for T[src]

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Typeable for T where
    T: Any

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]