pub enum TransactionResultCode {
Show 16 variants
TxFeeBumpInnerSuccess = 1,
TxSuccess = 0,
TxFailed = -1,
TxTooEarly = -2,
TxTooLate = -3,
TxMissingOperation = -4,
TxBadSeq = -5,
TxBadAuth = -6,
TxInsufficientBalance = -7,
TxNoAccount = -8,
TxInsufficientFee = -9,
TxBadAuthExtra = -10,
TxInternalError = -11,
TxNotSupported = -12,
TxFeeBumpInnerFailed = -13,
TxBadSponsorship = -14,
}Expand description
Autogenerated definition for type TransactionResultCode
Variants§
TxFeeBumpInnerSuccess = 1
TxSuccess = 0
TxFailed = -1
TxTooEarly = -2
TxTooLate = -3
TxMissingOperation = -4
TxBadSeq = -5
TxBadAuth = -6
TxInsufficientBalance = -7
TxNoAccount = -8
TxInsufficientFee = -9
TxBadAuthExtra = -10
TxInternalError = -11
TxNotSupported = -12
TxFeeBumpInnerFailed = -13
TxBadSponsorship = -14
Trait Implementations§
Source§impl Clone for TransactionResultCode
impl Clone for TransactionResultCode
Source§fn clone(&self) -> TransactionResultCode
fn clone(&self) -> TransactionResultCode
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TransactionResultCode
impl Debug for TransactionResultCode
Source§impl PartialEq for TransactionResultCode
impl PartialEq for TransactionResultCode
Source§impl XdrCodec for TransactionResultCode
impl XdrCodec for TransactionResultCode
Source§fn to_xdr_buffered(&self, write_stream: &mut WriteStream)
fn to_xdr_buffered(&self, write_stream: &mut WriteStream)
Encode the XDR to a write stream Read more
Source§fn from_xdr_buffered<T: AsRef<[u8]>>(
read_stream: &mut ReadStream<T>,
) -> Result<Self, DecodeError>
fn from_xdr_buffered<T: AsRef<[u8]>>( read_stream: &mut ReadStream<T>, ) -> Result<Self, DecodeError>
Decode the XDR from a read stream Read more
Source§fn from_xdr<T: AsRef<[u8]>>(input: T) -> Result<Self, DecodeError>
fn from_xdr<T: AsRef<[u8]>>(input: T) -> Result<Self, DecodeError>
Decode XDR provided as a reference to a byte vector Read more
Source§fn from_base64_xdr<T: AsRef<[u8]>>(input: T) -> Result<Self, DecodeError>
fn from_base64_xdr<T: AsRef<[u8]>>(input: T) -> Result<Self, DecodeError>
Decode this type from base64 encoded XDR Read more
impl Copy for TransactionResultCode
impl Eq for TransactionResultCode
impl StructuralPartialEq for TransactionResultCode
Auto Trait Implementations§
impl Freeze for TransactionResultCode
impl RefUnwindSafe for TransactionResultCode
impl Send for TransactionResultCode
impl Sync for TransactionResultCode
impl Unpin for TransactionResultCode
impl UnwindSafe for TransactionResultCode
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