Struct objc2_class_kit::CLSErrorCode
source · #[repr(transparent)]pub struct CLSErrorCode(pub NSInteger);Available on crate feature
CLSDefines only.Tuple Fields§
§0: NSIntegerImplementations§
source§impl CLSErrorCode
impl CLSErrorCode
pub const None: Self = _
pub const InvalidArgument: Self = _
pub const InvalidModification: Self = _
pub const AuthorizationDenied: Self = _
pub const DatabaseInaccessible: Self = _
pub const Limits: Self = _
pub const InvalidCreate: Self = _
pub const InvalidUpdate: Self = _
pub const PartialFailure: Self = _
pub const InvalidAccountCredentials: Self = _
Trait Implementations§
source§impl Clone for CLSErrorCode
impl Clone for CLSErrorCode
source§fn clone(&self) -> CLSErrorCode
fn clone(&self) -> CLSErrorCode
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 CLSErrorCode
impl Debug for CLSErrorCode
source§impl Encode for CLSErrorCode
impl Encode for CLSErrorCode
source§impl Hash for CLSErrorCode
impl Hash for CLSErrorCode
source§impl Ord for CLSErrorCode
impl Ord for CLSErrorCode
source§fn cmp(&self, other: &CLSErrorCode) -> Ordering
fn cmp(&self, other: &CLSErrorCode) -> 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 CLSErrorCode
impl PartialEq for CLSErrorCode
source§fn eq(&self, other: &CLSErrorCode) -> bool
fn eq(&self, other: &CLSErrorCode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for CLSErrorCode
impl PartialOrd for CLSErrorCode
source§fn partial_cmp(&self, other: &CLSErrorCode) -> Option<Ordering>
fn partial_cmp(&self, other: &CLSErrorCode) -> 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 CLSErrorCode
impl RefEncode for CLSErrorCode
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 CLSErrorCode
impl Eq for CLSErrorCode
impl StructuralPartialEq for CLSErrorCode
Auto Trait Implementations§
impl Freeze for CLSErrorCode
impl RefUnwindSafe for CLSErrorCode
impl Send for CLSErrorCode
impl Sync for CLSErrorCode
impl Unpin for CLSErrorCode
impl UnwindSafe for CLSErrorCode
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.