#[repr(transparent)]pub struct PTChannelLeaveReason(pub NSInteger);
Available on crate feature
PTChannelManagerDelegate
only.Expand description
Tuple Fields§
§0: NSInteger
Implementations§
Source§impl PTChannelLeaveReason
impl PTChannelLeaveReason
pub const Unknown: Self
Sourcepub const UserRequest: Self
pub const UserRequest: Self
User pressed the leave button in the system UI
Sourcepub const DeveloperRequest: Self
pub const DeveloperRequest: Self
The app made a call to leaveChannelWithUUID:
Sourcepub const SystemPolicy: Self
pub const SystemPolicy: Self
For example, a new managed device restriction has come into effect
Trait Implementations§
Source§impl Clone for PTChannelLeaveReason
impl Clone for PTChannelLeaveReason
Source§fn clone(&self) -> PTChannelLeaveReason
fn clone(&self) -> PTChannelLeaveReason
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 PTChannelLeaveReason
impl Debug for PTChannelLeaveReason
Source§impl Encode for PTChannelLeaveReason
impl Encode for PTChannelLeaveReason
Source§impl Hash for PTChannelLeaveReason
impl Hash for PTChannelLeaveReason
Source§impl Ord for PTChannelLeaveReason
impl Ord for PTChannelLeaveReason
Source§fn cmp(&self, other: &PTChannelLeaveReason) -> Ordering
fn cmp(&self, other: &PTChannelLeaveReason) -> 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 PTChannelLeaveReason
impl PartialEq for PTChannelLeaveReason
Source§impl PartialOrd for PTChannelLeaveReason
impl PartialOrd for PTChannelLeaveReason
Source§impl RefEncode for PTChannelLeaveReason
impl RefEncode for PTChannelLeaveReason
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 PTChannelLeaveReason
impl Eq for PTChannelLeaveReason
impl StructuralPartialEq for PTChannelLeaveReason
Auto Trait Implementations§
impl Freeze for PTChannelLeaveReason
impl RefUnwindSafe for PTChannelLeaveReason
impl Send for PTChannelLeaveReason
impl Sync for PTChannelLeaveReason
impl Unpin for PTChannelLeaveReason
impl UnwindSafe for PTChannelLeaveReason
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.