#[repr(transparent)]pub struct PTChannelError(pub NSInteger);
Available on crate feature
PTErrors
only.Expand description
Tuple Fields§
§0: NSInteger
Implementations§
Source§impl PTChannelError
impl PTChannelError
pub const Unknown: Self
Sourcepub const ChannelNotFound: Self
pub const ChannelNotFound: Self
The action cannot be performed because there is no active channel with the supplied UUID
Sourcepub const ChannelLimitReached: Self
pub const ChannelLimitReached: Self
There is a maximum of one active channel at a time, for the whole device
Sourcepub const CallActive: Self
pub const CallActive: Self
A traditional call is ongoing, preventing the channel action
Sourcepub const TransmissionInProgress: Self
pub const TransmissionInProgress: Self
Setting a nonnil active participant is not posible while transmitting is ongoing.
Sourcepub const TransmissionNotFound: Self
pub const TransmissionNotFound: Self
Error for trying to end a transmission when no transmission is even started
Sourcepub const AppNotForeground: Self
pub const AppNotForeground: Self
Error for trying to join a channel or begin transmitting while app is not foreground
Sourcepub const DeviceManagementRestriction: Self
pub const DeviceManagementRestriction: Self
A device management policy or profile forbids joining the channel
Sourcepub const ScreenTimeRestriction: Self
pub const ScreenTimeRestriction: Self
A Screen Time restriction prevented the action
Sourcepub const TransmissionNotAllowed: Self
pub const TransmissionNotAllowed: Self
A transmission is not allowed due to the current transmission mode of the channel
Trait Implementations§
Source§impl Clone for PTChannelError
impl Clone for PTChannelError
Source§fn clone(&self) -> PTChannelError
fn clone(&self) -> PTChannelError
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 PTChannelError
impl Debug for PTChannelError
Source§impl Encode for PTChannelError
impl Encode for PTChannelError
Source§impl Hash for PTChannelError
impl Hash for PTChannelError
Source§impl Ord for PTChannelError
impl Ord for PTChannelError
Source§fn cmp(&self, other: &PTChannelError) -> Ordering
fn cmp(&self, other: &PTChannelError) -> 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 PTChannelError
impl PartialEq for PTChannelError
Source§impl PartialOrd for PTChannelError
impl PartialOrd for PTChannelError
Source§impl RefEncode for PTChannelError
impl RefEncode for PTChannelError
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 PTChannelError
impl Eq for PTChannelError
impl StructuralPartialEq for PTChannelError
Auto Trait Implementations§
impl Freeze for PTChannelError
impl RefUnwindSafe for PTChannelError
impl Send for PTChannelError
impl Sync for PTChannelError
impl Unpin for PTChannelError
impl UnwindSafe for PTChannelError
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.