#[repr(transparent)]pub struct HostFnErrorCode(pub i32);Tuple Fields§
§0: i32Implementations§
Source§impl HostFnErrorCode
impl HostFnErrorCode
pub const NoneOrRecoverable: HostFnErrorCode
pub const OutOfGas: HostFnErrorCode
pub const Unrecoverable: HostFnErrorCode
pub const Return: HostFnErrorCode
pub const Exit: HostFnErrorCode
pub const ValidationFailure: HostFnErrorCode
pub const Abandon: HostFnErrorCode
Trait Implementations§
Source§impl Clone for HostFnErrorCode
impl Clone for HostFnErrorCode
Source§fn clone(&self) -> HostFnErrorCode
fn clone(&self) -> HostFnErrorCode
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 HostFnErrorCode
Source§impl Debug for HostFnErrorCode
impl Debug for HostFnErrorCode
Source§impl Display for HostFnErrorCode
Available on crate feature std only.
impl Display for HostFnErrorCode
Available on crate feature
std only.impl Eq for HostFnErrorCode
Source§impl From<SystemErrorCode> for HostFnErrorCode
impl From<SystemErrorCode> for HostFnErrorCode
Source§fn from(error_code: SystemErrorCode) -> HostFnErrorCode
fn from(error_code: SystemErrorCode) -> HostFnErrorCode
Converts to this type from the input type.
Source§impl From<i32> for HostFnErrorCode
impl From<i32> for HostFnErrorCode
Source§fn from(v: i32) -> HostFnErrorCode
fn from(v: i32) -> HostFnErrorCode
Converts to this type from the input type.
Source§impl Hash for HostFnErrorCode
impl Hash for HostFnErrorCode
Source§impl Ord for HostFnErrorCode
impl Ord for HostFnErrorCode
Source§fn cmp(&self, other: &HostFnErrorCode) -> Ordering
fn cmp(&self, other: &HostFnErrorCode) -> 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 HostFnErrorCode
impl PartialEq for HostFnErrorCode
Source§impl PartialOrd for HostFnErrorCode
impl PartialOrd for HostFnErrorCode
impl StructuralPartialEq for HostFnErrorCode
Auto Trait Implementations§
impl Freeze for HostFnErrorCode
impl RefUnwindSafe for HostFnErrorCode
impl Send for HostFnErrorCode
impl Sync for HostFnErrorCode
impl Unpin for HostFnErrorCode
impl UnsafeUnpin for HostFnErrorCode
impl UnwindSafe for HostFnErrorCode
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