#[repr(transparent)]pub struct MPRemoteCommandHandlerStatus(pub NSInteger);Available on crate feature
MPRemoteCommand only.Expand description
Tuple Fields§
§0: NSIntegerImplementations§
Source§impl MPRemoteCommandHandlerStatus
impl MPRemoteCommandHandlerStatus
Sourcepub const NoSuchContent: Self
pub const NoSuchContent: Self
The command could not be executed because the requested content does not exist in the current application state.
Sourcepub const NoActionableNowPlayingItem: Self
pub const NoActionableNowPlayingItem: Self
The command could not be executed because there is no now playing item available that is required for this command. As an example, an application would return this error code if an “enable language option” command is received, but nothing is currently playing.
Sourcepub const DeviceNotFound: Self
pub const DeviceNotFound: Self
The command could not be executed because a device required is not available. For instance, if headphones are required, or if a watch app realizes that it needs the companion to fulfull a request.
Sourcepub const CommandFailed: Self
pub const CommandFailed: Self
The command could not be executed for another reason.
Trait Implementations§
Source§impl Clone for MPRemoteCommandHandlerStatus
impl Clone for MPRemoteCommandHandlerStatus
Source§fn clone(&self) -> MPRemoteCommandHandlerStatus
fn clone(&self) -> MPRemoteCommandHandlerStatus
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 MPRemoteCommandHandlerStatus
impl Debug for MPRemoteCommandHandlerStatus
Source§impl Hash for MPRemoteCommandHandlerStatus
impl Hash for MPRemoteCommandHandlerStatus
Source§impl Ord for MPRemoteCommandHandlerStatus
impl Ord for MPRemoteCommandHandlerStatus
Source§fn cmp(&self, other: &MPRemoteCommandHandlerStatus) -> Ordering
fn cmp(&self, other: &MPRemoteCommandHandlerStatus) -> 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 MPRemoteCommandHandlerStatus
impl PartialEq for MPRemoteCommandHandlerStatus
Source§fn eq(&self, other: &MPRemoteCommandHandlerStatus) -> bool
fn eq(&self, other: &MPRemoteCommandHandlerStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for MPRemoteCommandHandlerStatus
impl PartialOrd for MPRemoteCommandHandlerStatus
Source§impl RefEncode for MPRemoteCommandHandlerStatus
impl RefEncode for MPRemoteCommandHandlerStatus
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 MPRemoteCommandHandlerStatus
impl Eq for MPRemoteCommandHandlerStatus
impl StructuralPartialEq for MPRemoteCommandHandlerStatus
Auto Trait Implementations§
impl Freeze for MPRemoteCommandHandlerStatus
impl RefUnwindSafe for MPRemoteCommandHandlerStatus
impl Send for MPRemoteCommandHandlerStatus
impl Sync for MPRemoteCommandHandlerStatus
impl Unpin for MPRemoteCommandHandlerStatus
impl UnwindSafe for MPRemoteCommandHandlerStatus
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.