Enum soroban_env_guest::xdr::next::OperationResultCode
pub enum OperationResultCode {
OpInner,
OpBadAuth,
OpNoAccount,
OpNotSupported,
OpTooManySubentries,
OpExceededWorkLimit,
OpTooManySponsoring,
}
Variants§
OpInner
OpBadAuth
OpNoAccount
OpNotSupported
OpTooManySubentries
OpExceededWorkLimit
OpTooManySponsoring
Implementations§
§impl OperationResultCode
impl OperationResultCode
pub const VARIANTS: [OperationResultCode; 7] = [OperationResultCode::OpInner, OperationResultCode::OpBadAuth, OperationResultCode::OpNoAccount, OperationResultCode::OpNotSupported, OperationResultCode::OpTooManySubentries, OperationResultCode::OpExceededWorkLimit, OperationResultCode::OpTooManySponsoring]
pub const VARIANTS_STR: [&'static str; 7] = ["OpInner", "OpBadAuth", "OpNoAccount", "OpNotSupported", "OpTooManySubentries", "OpExceededWorkLimit", "OpTooManySponsoring"]
pub const fn name(&self) -> &'static str
pub const fn variants() -> [OperationResultCode; 7]
Trait Implementations§
§impl Clone for OperationResultCode
impl Clone for OperationResultCode
§fn clone(&self) -> OperationResultCode
fn clone(&self) -> OperationResultCode
Returns a copy 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 more§impl Debug for OperationResultCode
impl Debug for OperationResultCode
§impl Discriminant<OperationResultCode> for OperationResult
impl Discriminant<OperationResultCode> for OperationResult
fn discriminant(&self) -> OperationResultCode
§impl Display for OperationResultCode
impl Display for OperationResultCode
§impl Hash for OperationResultCode
impl Hash for OperationResultCode
§impl Ord for OperationResultCode
impl Ord for OperationResultCode
§fn cmp(&self, other: &OperationResultCode) -> Ordering
fn cmp(&self, other: &OperationResultCode) -> Ordering
1.21.0 · source§fn 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
§impl PartialEq<OperationResultCode> for OperationResultCode
impl PartialEq<OperationResultCode> for OperationResultCode
§fn eq(&self, other: &OperationResultCode) -> bool
fn eq(&self, other: &OperationResultCode) -> bool
§impl PartialOrd<OperationResultCode> for OperationResultCode
impl PartialOrd<OperationResultCode> for OperationResultCode
§fn partial_cmp(&self, other: &OperationResultCode) -> Option<Ordering>
fn partial_cmp(&self, other: &OperationResultCode) -> Option<Ordering>
1.0.0 · source§fn 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 more