pub enum InnerTransactionResultResult {
Show 16 variants
TxSuccess(VecM<OperationResult, _>),
TxFailed(VecM<OperationResult, _>),
TxTooEarly,
TxTooLate,
TxMissingOperation,
TxBadSeq,
TxBadAuth,
TxInsufficientBalance,
TxNoAccount,
TxInsufficientFee,
TxBadAuthExtra,
TxInternalError,
TxNotSupported,
TxBadSponsorship,
TxBadMinSeqAgeOrGap,
TxMalformed,
}
Variants
TxSuccess(VecM<OperationResult, _>)
TxFailed(VecM<OperationResult, _>)
TxTooEarly
TxTooLate
TxMissingOperation
TxBadSeq
TxBadAuth
TxInsufficientBalance
TxNoAccount
TxInsufficientFee
TxBadAuthExtra
TxInternalError
TxNotSupported
TxBadSponsorship
TxBadMinSeqAgeOrGap
TxMalformed
Implementations
impl InnerTransactionResultResult
impl InnerTransactionResultResult
pub const VARIANTS: [TransactionResultCode; 16] = [TransactionResultCode::TxSuccess, TransactionResultCode::TxFailed, TransactionResultCode::TxTooEarly, TransactionResultCode::TxTooLate, TransactionResultCode::TxMissingOperation, TransactionResultCode::TxBadSeq, TransactionResultCode::TxBadAuth, TransactionResultCode::TxInsufficientBalance, TransactionResultCode::TxNoAccount, TransactionResultCode::TxInsufficientFee, TransactionResultCode::TxBadAuthExtra, TransactionResultCode::TxInternalError, TransactionResultCode::TxNotSupported, TransactionResultCode::TxBadSponsorship, TransactionResultCode::TxBadMinSeqAgeOrGap, TransactionResultCode::TxMalformed]
pub const VARIANTS_STR: [&'static str; 16] = ["TxSuccess", "TxFailed", "TxTooEarly", "TxTooLate", "TxMissingOperation", "TxBadSeq", "TxBadAuth", "TxInsufficientBalance", "TxNoAccount", "TxInsufficientFee", "TxBadAuthExtra", "TxInternalError", "TxNotSupported", "TxBadSponsorship", "TxBadMinSeqAgeOrGap", "TxMalformed"]
pub const fn name(&self) -> &'static str
pub const fn discriminant(&self) -> TransactionResultCode
pub const fn variants() -> [TransactionResultCode; 16]
Trait Implementations
impl Clone for InnerTransactionResultResult
impl Clone for InnerTransactionResultResult
fn clone(&self) -> InnerTransactionResultResult
fn clone(&self) -> InnerTransactionResultResult
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreimpl Debug for InnerTransactionResultResult
impl Debug for InnerTransactionResultResult
impl Discriminant<TransactionResultCode> for InnerTransactionResultResult
impl Discriminant<TransactionResultCode> for InnerTransactionResultResult
fn discriminant(&self) -> TransactionResultCode
impl Hash for InnerTransactionResultResult
impl Hash for InnerTransactionResultResult
impl Name for InnerTransactionResultResult
impl Name for InnerTransactionResultResult
impl Ord for InnerTransactionResultResult
impl Ord for InnerTransactionResultResult
fn cmp(&self, other: &InnerTransactionResultResult) -> Ordering
fn cmp(&self, other: &InnerTransactionResultResult) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
impl PartialEq<InnerTransactionResultResult> for InnerTransactionResultResult
impl PartialEq<InnerTransactionResultResult> for InnerTransactionResultResult
fn eq(&self, other: &InnerTransactionResultResult) -> bool
fn eq(&self, other: &InnerTransactionResultResult) -> bool
impl PartialOrd<InnerTransactionResultResult> for InnerTransactionResultResult
impl PartialOrd<InnerTransactionResultResult> for InnerTransactionResultResult
fn partial_cmp(&self, other: &InnerTransactionResultResult) -> Option<Ordering>
fn partial_cmp(&self, other: &InnerTransactionResultResult) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Variants<TransactionResultCode> for InnerTransactionResultResult
impl Variants<TransactionResultCode> for InnerTransactionResultResult
fn variants() -> Iter<'static, TransactionResultCode>
impl Eq for InnerTransactionResultResult
impl ReadXdr for InnerTransactionResultResult
impl StructuralEq for InnerTransactionResultResult
impl StructuralPartialEq for InnerTransactionResultResult
impl Union<TransactionResultCode> for InnerTransactionResultResult
impl WriteXdr for InnerTransactionResultResult
Auto Trait Implementations
impl RefUnwindSafe for InnerTransactionResultResult
impl Send for InnerTransactionResultResult
impl Sync for InnerTransactionResultResult
impl Unpin for InnerTransactionResultResult
impl UnwindSafe for InnerTransactionResultResult
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more