Struct objc2_contacts::CNErrorCode
source · #[repr(transparent)]pub struct CNErrorCode(pub NSInteger);
Available on crate feature
CNError
only.Tuple Fields§
§0: NSInteger
Implementations§
source§impl CNErrorCode
impl CNErrorCode
pub const CommunicationError: Self = _
pub const DataAccessError: Self = _
pub const AuthorizationDenied: Self = _
pub const NoAccessableWritableContainers: Self = _
pub const FeatureDisabledByUser: Self = _
pub const FeatureNotAvailable: Self = _
pub const RecordDoesNotExist: Self = _
pub const InsertedRecordAlreadyExists: Self = _
pub const ContainmentCycle: Self = _
pub const ContainmentScope: Self = _
pub const ParentRecordDoesNotExist: Self = _
pub const RecordIdentifierInvalid: Self = _
pub const RecordNotWritable: Self = _
pub const ParentContainerNotWritable: Self = _
pub const ValidationMultipleErrors: Self = _
pub const ValidationTypeMismatch: Self = _
pub const ValidationConfigurationError: Self = _
pub const PredicateInvalid: Self = _
pub const PolicyViolation: Self = _
pub const ClientIdentifierInvalid: Self = _
pub const ClientIdentifierDoesNotExist: Self = _
pub const ClientIdentifierCollision: Self = _
pub const ChangeHistoryExpired: Self = _
pub const ChangeHistoryInvalidAnchor: Self = _
pub const ChangeHistoryInvalidFetchRequest: Self = _
pub const VCardMalformed: Self = _
pub const VCardSummarizationError: Self = _
Trait Implementations§
source§impl Clone for CNErrorCode
impl Clone for CNErrorCode
source§fn clone(&self) -> CNErrorCode
fn clone(&self) -> CNErrorCode
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 CNErrorCode
impl Debug for CNErrorCode
source§impl Encode for CNErrorCode
impl Encode for CNErrorCode
source§impl Hash for CNErrorCode
impl Hash for CNErrorCode
source§impl Ord for CNErrorCode
impl Ord for CNErrorCode
source§fn cmp(&self, other: &CNErrorCode) -> Ordering
fn cmp(&self, other: &CNErrorCode) -> 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 CNErrorCode
impl PartialEq for CNErrorCode
source§fn eq(&self, other: &CNErrorCode) -> bool
fn eq(&self, other: &CNErrorCode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for CNErrorCode
impl PartialOrd for CNErrorCode
source§fn partial_cmp(&self, other: &CNErrorCode) -> Option<Ordering>
fn partial_cmp(&self, other: &CNErrorCode) -> 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 CNErrorCode
impl RefEncode for CNErrorCode
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 CNErrorCode
impl Eq for CNErrorCode
impl StructuralPartialEq for CNErrorCode
Auto Trait Implementations§
impl Freeze for CNErrorCode
impl RefUnwindSafe for CNErrorCode
impl Send for CNErrorCode
impl Sync for CNErrorCode
impl Unpin for CNErrorCode
impl UnwindSafe for CNErrorCode
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.