pub enum ClawbackResultCode {
ClawbackSuccess = 0,
ClawbackMalformed = -1,
ClawbackNotClawbackEnabled = -2,
ClawbackNoTrust = -3,
ClawbackUnderfunded = -4,
}Expand description
Autogenerated definition for type ClawbackResultCode
Variants§
ClawbackSuccess = 0
ClawbackMalformed = -1
ClawbackNotClawbackEnabled = -2
ClawbackNoTrust = -3
ClawbackUnderfunded = -4
Trait Implementations§
Source§impl Clone for ClawbackResultCode
impl Clone for ClawbackResultCode
Source§fn clone(&self) -> ClawbackResultCode
fn clone(&self) -> ClawbackResultCode
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 ClawbackResultCode
impl Debug for ClawbackResultCode
Source§impl PartialEq for ClawbackResultCode
impl PartialEq for ClawbackResultCode
Source§impl XdrCodec for ClawbackResultCode
impl XdrCodec for ClawbackResultCode
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 ClawbackResultCode
impl Eq for ClawbackResultCode
impl StructuralPartialEq for ClawbackResultCode
Auto Trait Implementations§
impl Freeze for ClawbackResultCode
impl RefUnwindSafe for ClawbackResultCode
impl Send for ClawbackResultCode
impl Sync for ClawbackResultCode
impl Unpin for ClawbackResultCode
impl UnwindSafe for ClawbackResultCode
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