#[repr(transparent)]pub struct MPErrorCode(pub NSInteger);
Available on crate feature
MPError
only.Expand description
Tuple Fields§
§0: NSInteger
Implementations§
Source§impl MPErrorCode
impl MPErrorCode
pub const Unknown: Self
pub const PermissionDenied: Self
pub const CloudServiceCapabilityMissing: Self
pub const NetworkConnectionFailed: Self
pub const NotFound: Self
pub const NotSupported: Self
pub const Cancelled: Self
pub const RequestTimedOut: Self
Trait Implementations§
Source§impl Clone for MPErrorCode
impl Clone for MPErrorCode
Source§fn clone(&self) -> MPErrorCode
fn clone(&self) -> MPErrorCode
Returns a duplicate 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 MPErrorCode
impl Debug for MPErrorCode
Source§impl Encode for MPErrorCode
impl Encode for MPErrorCode
Source§impl Hash for MPErrorCode
impl Hash for MPErrorCode
Source§impl Ord for MPErrorCode
impl Ord for MPErrorCode
Source§fn cmp(&self, other: &MPErrorCode) -> Ordering
fn cmp(&self, other: &MPErrorCode) -> 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 MPErrorCode
impl PartialEq for MPErrorCode
Source§impl PartialOrd for MPErrorCode
impl PartialOrd for MPErrorCode
Source§impl RefEncode for MPErrorCode
impl RefEncode for MPErrorCode
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 MPErrorCode
impl Eq for MPErrorCode
impl StructuralPartialEq for MPErrorCode
Auto Trait Implementations§
impl Freeze for MPErrorCode
impl RefUnwindSafe for MPErrorCode
impl Send for MPErrorCode
impl Sync for MPErrorCode
impl Unpin for MPErrorCode
impl UnwindSafe for MPErrorCode
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.