[][src]Enum stellar_base::transaction_result::TransactionResult

Result of a transaction.

Variants

Implementations

impl TransactionResult[src]

pub fn as_fee_bump_success(&self) -> Option<&TransactionResultFeeBumpSuccess>[src]

If the result is a FeeBumpSuccess, returns its value. Returns None otherwise

pub fn is_fee_bump_success(&self) -> bool[src]

Returns true if the transaction result is a FeeBumpSuccess.

pub fn as_fee_bump_failed(&self) -> Option<&TransactionResultFeeBumpFailed>[src]

If the result is a FeeBumpFailed, returns its value. Returns None otherwise

pub fn is_fee_bump_failed(&self) -> bool[src]

Returns true if the transaction result is a FeeBumpFailed.

pub fn as_success(&self) -> Option<&TransactionResultSuccess>[src]

If the result is a Success, returns its value. Returns None otherwise

pub fn is_success(&self) -> bool[src]

Returns true if the transaction result is a Success.

pub fn as_failed(&self) -> Option<&TransactionResultFailed>[src]

If the result is a Failed, returns its value. Returns None otherwise

pub fn is_failed(&self) -> bool[src]

Returns true if the transaction result is a Failed.

pub fn as_too_early(&self) -> Option<&TransactionResultTooEarly>[src]

If the result is a TooEarly, returns its value. Returns None otherwise

pub fn is_too_early(&self) -> bool[src]

Returns true if the transaction result is a TooEarly.

pub fn as_too_late(&self) -> Option<&TransactionResultTooLate>[src]

If the result is a TooLate, returns its value. Returns None otherwise

pub fn is_too_late(&self) -> bool[src]

Returns true if the transaction result is a TooLate.

pub fn as_missing_operation(&self) -> Option<&TransactionResultMissingOperation>[src]

If the result is a MissingOperation, returns its value. Returns None otherwise

pub fn is_missing_operation(&self) -> bool[src]

Returns true if the transaction result is a MissingOperation.

pub fn as_bad_sequence(&self) -> Option<&TransactionResultBadSequence>[src]

If the result is a BadSequence, returns its value. Returns None otherwise

pub fn is_bad_sequence(&self) -> bool[src]

Returns true if the transaction result is a BadSequence.

pub fn as_bad_auth(&self) -> Option<&TransactionResultBadAuth>[src]

If the result is a BadAuth, returns its value. Returns None otherwise

pub fn is_bad_auth(&self) -> bool[src]

Returns true if the transaction result is a BadAuth.

pub fn as_insufficient_balance(
    &self
) -> Option<&TransactionResultInsufficientBalance>
[src]

If the result is a InsufficientBalance, returns its value. Returns None otherwise

pub fn is_insufficient_balance(&self) -> bool[src]

Returns true if the transaction result is a InsufficientBalance.

pub fn as_no_account(&self) -> Option<&TransactionResultNoAccount>[src]

If the result is a NoAccount, returns its value. Returns None otherwise

pub fn is_no_account(&self) -> bool[src]

Returns true if the transaction result is a NoAccount.

pub fn as_insufficient_fee(&self) -> Option<&TransactionResultInsufficientFee>[src]

If the result is a InsufficientFee, returns its value. Returns None otherwise

pub fn is_insufficient_fee(&self) -> bool[src]

Returns true if the transaction result is a InsufficientFee.

pub fn as_bad_auth_extra(&self) -> Option<&TransactionResultBadAuthExtra>[src]

If the result is a BadAuthExtra, returns its value. Returns None otherwise

pub fn is_bad_auth_extra(&self) -> bool[src]

Returns true if the transaction result is a BadAuthExtra.

pub fn as_internal_error(&self) -> Option<&TransactionResultInternalError>[src]

If the result is a InternalError, returns its value. Returns None otherwise

pub fn is_internal_error(&self) -> bool[src]

Returns true if the transaction result is a InternalError.

pub fn as_not_supported(&self) -> Option<&TransactionResultNotSupported>[src]

If the result is a NotSupported, returns its value. Returns None otherwise

pub fn is_not_supported(&self) -> bool[src]

Returns true if the transaction result is a NotSupported.

pub fn as_bad_sponsorship(&self) -> Option<&TransactionResultBadSponsorship>[src]

If the result is a BadSponsorship, returns its value. Returns None otherwise

pub fn is_bad_sponsorship(&self) -> bool[src]

Returns true if the transaction result is a BadSponsorship.

pub fn from_xdr(x: &TransactionResult) -> Result<TransactionResult>[src]

Creates TransactionResult from xdr object.

Trait Implementations

impl Clone for TransactionResult[src]

impl Debug for TransactionResult[src]

impl Eq for TransactionResult[src]

impl PartialEq<TransactionResult> for TransactionResult[src]

impl StructuralEq for TransactionResult[src]

impl StructuralPartialEq for TransactionResult[src]

impl XDRDeserialize for TransactionResult[src]

Auto Trait Implementations

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, U> Into<U> for T where
    U: From<T>, 
[src]

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.