Struct objc2_metric_kit::MXErrorCode
source · #[repr(transparent)]pub struct MXErrorCode(pub NSInteger);Available on crate feature
MXError only.Tuple Fields§
§0: NSIntegerImplementations§
source§impl MXErrorCode
impl MXErrorCode
pub const MXErrorLaunchTaskInvalidID: Self = _
pub const MXErrorLaunchTaskMaxCount: Self = _
pub const MXErrorLaunchTaskPastDeadline: Self = _
pub const MXErrorLaunchTaskDuplicated: Self = _
pub const MXErrorLaunchTaskUnknown: Self = _
pub const MXErrorLaunchTaskInternalFailure: Self = _
Trait Implementations§
source§impl Clone for MXErrorCode
impl Clone for MXErrorCode
source§fn clone(&self) -> MXErrorCode
fn clone(&self) -> MXErrorCode
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 moresource§impl Debug for MXErrorCode
impl Debug for MXErrorCode
source§impl Encode for MXErrorCode
impl Encode for MXErrorCode
source§impl Hash for MXErrorCode
impl Hash for MXErrorCode
source§impl Ord for MXErrorCode
impl Ord for MXErrorCode
source§fn cmp(&self, other: &MXErrorCode) -> Ordering
fn cmp(&self, other: &MXErrorCode) -> 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
source§impl PartialEq for MXErrorCode
impl PartialEq for MXErrorCode
source§fn eq(&self, other: &MXErrorCode) -> bool
fn eq(&self, other: &MXErrorCode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for MXErrorCode
impl PartialOrd for MXErrorCode
source§fn partial_cmp(&self, other: &MXErrorCode) -> Option<Ordering>
fn partial_cmp(&self, other: &MXErrorCode) -> 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 moresource§impl RefEncode for MXErrorCode
impl RefEncode for MXErrorCode
source§const ENCODING_REF: Encoding = _
const ENCODING_REF: Encoding = _
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for MXErrorCode
impl Eq for MXErrorCode
impl StructuralPartialEq for MXErrorCode
Auto Trait Implementations§
impl Freeze for MXErrorCode
impl RefUnwindSafe for MXErrorCode
impl Send for MXErrorCode
impl Sync for MXErrorCode
impl Unpin for MXErrorCode
impl UnwindSafe for MXErrorCode
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
source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.