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