#[repr(transparent)]pub struct GKPeerConnectionState(pub c_int);👎Deprecated: No longer supported
Available on crate feature
GKPublicConstants only.Expand description
Specifies the type of peers to return in method -peersWithConnectionState:
See also Apple’s documentation
Tuple Fields§
§0: c_int👎Deprecated: No longer supported
Implementations§
Source§impl GKPeerConnectionState
impl GKPeerConnectionState
pub const StateAvailable: Self
👎Deprecated: No longer supported
👎Deprecated: No longer supported
not connected to session, but available for connectToPeer:withTimeout:
Sourcepub const StateConnected: Self
👎Deprecated: No longer supported
pub const StateConnected: Self
no longer available
Sourcepub const StateDisconnected: Self
👎Deprecated: No longer supported
pub const StateDisconnected: Self
connected to the session
Sourcepub const StateConnecting: Self
👎Deprecated: No longer supported
pub const StateConnecting: Self
disconnected from the session
Sourcepub const StateConnectedRelay: Self
👎Deprecated: No longer supported
pub const StateConnectedRelay: Self
waiting for accept, or deny response
Trait Implementations§
Source§impl Clone for GKPeerConnectionState
impl Clone for GKPeerConnectionState
Source§fn clone(&self) -> GKPeerConnectionState
fn clone(&self) -> GKPeerConnectionState
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 GKPeerConnectionState
impl Debug for GKPeerConnectionState
Source§impl Encode for GKPeerConnectionState
impl Encode for GKPeerConnectionState
Source§impl Hash for GKPeerConnectionState
impl Hash for GKPeerConnectionState
Source§impl Ord for GKPeerConnectionState
impl Ord for GKPeerConnectionState
Source§fn cmp(&self, other: &GKPeerConnectionState) -> Ordering
fn cmp(&self, other: &GKPeerConnectionState) -> 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 GKPeerConnectionState
impl PartialEq for GKPeerConnectionState
Source§impl PartialOrd for GKPeerConnectionState
impl PartialOrd for GKPeerConnectionState
Source§impl RefEncode for GKPeerConnectionState
impl RefEncode for GKPeerConnectionState
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 GKPeerConnectionState
impl Eq for GKPeerConnectionState
impl StructuralPartialEq for GKPeerConnectionState
Auto Trait Implementations§
impl Freeze for GKPeerConnectionState
impl RefUnwindSafe for GKPeerConnectionState
impl Send for GKPeerConnectionState
impl Sync for GKPeerConnectionState
impl Unpin for GKPeerConnectionState
impl UnwindSafe for GKPeerConnectionState
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.