#[repr(transparent)]pub struct WatchKitErrorCode(pub NSInteger);Available on crate feature
WKError only.Expand description
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl WatchKitErrorCode
impl WatchKitErrorCode
pub const UnknownError: Self
pub const ApplicationDelegateWatchKitRequestReplyNotCalledError: Self
pub const InvalidArgumentError: Self
pub const MediaPlayerError: Self
pub const DownloadError: Self
pub const RecordingFailedError: Self
Trait Implementations§
Source§impl Clone for WatchKitErrorCode
impl Clone for WatchKitErrorCode
Source§fn clone(&self) -> WatchKitErrorCode
fn clone(&self) -> WatchKitErrorCode
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 WatchKitErrorCode
impl Debug for WatchKitErrorCode
Source§impl Encode for WatchKitErrorCode
impl Encode for WatchKitErrorCode
Source§impl Hash for WatchKitErrorCode
impl Hash for WatchKitErrorCode
Source§impl Ord for WatchKitErrorCode
impl Ord for WatchKitErrorCode
Source§fn cmp(&self, other: &WatchKitErrorCode) -> Ordering
fn cmp(&self, other: &WatchKitErrorCode) -> 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 WatchKitErrorCode
impl PartialEq for WatchKitErrorCode
Source§impl PartialOrd for WatchKitErrorCode
impl PartialOrd for WatchKitErrorCode
Source§impl RefEncode for WatchKitErrorCode
impl RefEncode for WatchKitErrorCode
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 WatchKitErrorCode
impl Eq for WatchKitErrorCode
impl StructuralPartialEq for WatchKitErrorCode
Auto Trait Implementations§
impl Freeze for WatchKitErrorCode
impl RefUnwindSafe for WatchKitErrorCode
impl Send for WatchKitErrorCode
impl Sync for WatchKitErrorCode
impl Unpin for WatchKitErrorCode
impl UnwindSafe for WatchKitErrorCode
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.