#[repr(transparent)]pub struct InvokeErrorCode(pub i32);Tuple Fields§
§0: i32Implementations§
Source§impl InvokeErrorCode
impl InvokeErrorCode
pub const None: InvokeErrorCode
pub const Deterministic: InvokeErrorCode
pub const OutOfGas: InvokeErrorCode
pub const Unrecoverable: InvokeErrorCode
pub const ValidationFailure: InvokeErrorCode
pub const Abandon: InvokeErrorCode
Trait Implementations§
Source§impl Clone for InvokeErrorCode
impl Clone for InvokeErrorCode
Source§fn clone(&self) -> InvokeErrorCode
fn clone(&self) -> InvokeErrorCode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for InvokeErrorCode
Source§impl Debug for InvokeErrorCode
impl Debug for InvokeErrorCode
Source§impl Display for InvokeErrorCode
Available on crate feature std only.
impl Display for InvokeErrorCode
Available on crate feature
std only.impl Eq for InvokeErrorCode
Source§impl From<SystemErrorCode> for InvokeErrorCode
impl From<SystemErrorCode> for InvokeErrorCode
Source§fn from(error_code: SystemErrorCode) -> InvokeErrorCode
fn from(error_code: SystemErrorCode) -> InvokeErrorCode
Converts to this type from the input type.
Source§impl From<i32> for InvokeErrorCode
impl From<i32> for InvokeErrorCode
Source§fn from(v: i32) -> InvokeErrorCode
fn from(v: i32) -> InvokeErrorCode
Converts to this type from the input type.
Source§impl Hash for InvokeErrorCode
impl Hash for InvokeErrorCode
Source§impl Ord for InvokeErrorCode
impl Ord for InvokeErrorCode
Source§fn cmp(&self, other: &InvokeErrorCode) -> Ordering
fn cmp(&self, other: &InvokeErrorCode) -> Ordering
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn 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
Source§impl PartialEq for InvokeErrorCode
impl PartialEq for InvokeErrorCode
Source§impl PartialOrd for InvokeErrorCode
impl PartialOrd for InvokeErrorCode
impl StructuralPartialEq for InvokeErrorCode
Auto Trait Implementations§
impl Freeze for InvokeErrorCode
impl RefUnwindSafe for InvokeErrorCode
impl Send for InvokeErrorCode
impl Sync for InvokeErrorCode
impl Unpin for InvokeErrorCode
impl UnsafeUnpin for InvokeErrorCode
impl UnwindSafe for InvokeErrorCode
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