#[repr(transparent)]pub struct HKErrorCode(pub NSInteger);Available on crate feature
HKDefines only.Expand description
perform the requested operation.
required data types.
query’s result could not be meaningfully computed.
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl HKErrorCode
impl HKErrorCode
pub const UnknownError: Self
pub const NoError: Self
👎Deprecated
pub const ErrorHealthDataRestricted: Self
pub const ErrorInvalidArgument: Self
pub const ErrorAuthorizationDenied: Self
pub const ErrorAuthorizationNotDetermined: Self
pub const ErrorDatabaseInaccessible: Self
pub const ErrorUserCanceled: Self
pub const ErrorAnotherWorkoutSessionStarted: Self
pub const ErrorUserExitedWorkoutSession: Self
pub const ErrorRequiredAuthorizationDenied: Self
pub const ErrorNoData: Self
pub const ErrorWorkoutActivityNotAllowed: Self
pub const ErrorDataSizeExceeded: Self
pub const ErrorBackgroundWorkoutSessionNotAllowed: Self
pub const ErrorNotPermissibleForGuestUserMode: Self
Trait Implementations§
Source§impl Clone for HKErrorCode
impl Clone for HKErrorCode
Source§fn clone(&self) -> HKErrorCode
fn clone(&self) -> HKErrorCode
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 HKErrorCode
impl Debug for HKErrorCode
Source§impl Encode for HKErrorCode
impl Encode for HKErrorCode
Source§impl Hash for HKErrorCode
impl Hash for HKErrorCode
Source§impl Ord for HKErrorCode
impl Ord for HKErrorCode
Source§fn cmp(&self, other: &HKErrorCode) -> Ordering
fn cmp(&self, other: &HKErrorCode) -> 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 HKErrorCode
impl PartialEq for HKErrorCode
Source§impl PartialOrd for HKErrorCode
impl PartialOrd for HKErrorCode
Source§impl RefEncode for HKErrorCode
impl RefEncode for HKErrorCode
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 HKErrorCode
impl Eq for HKErrorCode
impl StructuralPartialEq for HKErrorCode
Auto Trait Implementations§
impl Freeze for HKErrorCode
impl RefUnwindSafe for HKErrorCode
impl Send for HKErrorCode
impl Sync for HKErrorCode
impl Unpin for HKErrorCode
impl UnwindSafe for HKErrorCode
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.