#[repr(transparent)]pub struct PTInstantiationError(pub NSInteger);
Available on crate feature
PTErrors
only.Expand description
Tuple Fields§
§0: NSInteger
Implementations§
Source§impl PTInstantiationError
impl PTInstantiationError
pub const Unknown: Self
Sourcepub const InvalidPlatform: Self
pub const InvalidPlatform: Self
The PushToTalk API is not available on the simulator or macOS devices
Sourcepub const MissingBackgroundMode: Self
pub const MissingBackgroundMode: Self
App is lacking the push-to-talk UIBackgroundMode
Sourcepub const MissingPushServerEnvironment: Self
pub const MissingPushServerEnvironment: Self
App is lacking apns-environment entitlement (Push Notifications Capability)
Sourcepub const MissingEntitlement: Self
pub const MissingEntitlement: Self
App is lacking the com.apple.developer.push-to-talk entitlement
Sourcepub const InstantiationAlreadyInProgress: Self
pub const InstantiationAlreadyInProgress: Self
There is already an in-flight instantiation request
Trait Implementations§
Source§impl Clone for PTInstantiationError
impl Clone for PTInstantiationError
Source§fn clone(&self) -> PTInstantiationError
fn clone(&self) -> PTInstantiationError
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 PTInstantiationError
impl Debug for PTInstantiationError
Source§impl Encode for PTInstantiationError
impl Encode for PTInstantiationError
Source§impl Hash for PTInstantiationError
impl Hash for PTInstantiationError
Source§impl Ord for PTInstantiationError
impl Ord for PTInstantiationError
Source§fn cmp(&self, other: &PTInstantiationError) -> Ordering
fn cmp(&self, other: &PTInstantiationError) -> 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 PTInstantiationError
impl PartialEq for PTInstantiationError
Source§impl PartialOrd for PTInstantiationError
impl PartialOrd for PTInstantiationError
Source§impl RefEncode for PTInstantiationError
impl RefEncode for PTInstantiationError
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 PTInstantiationError
impl Eq for PTInstantiationError
impl StructuralPartialEq for PTInstantiationError
Auto Trait Implementations§
impl Freeze for PTInstantiationError
impl RefUnwindSafe for PTInstantiationError
impl Send for PTInstantiationError
impl Sync for PTInstantiationError
impl Unpin for PTInstantiationError
impl UnwindSafe for PTInstantiationError
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.