#[repr(transparent)]pub struct GKGameSessionErrorCode(pub NSInteger);
👎Deprecated: GKGameSession is deprecated, use real-time and turn-based matchmaking APIs instead.
Available on crate feature
GKGameSessionError
only.Expand description
Tuple Fields§
§0: NSInteger
👎Deprecated: GKGameSession is deprecated, use real-time and turn-based matchmaking APIs instead.
Implementations§
Source§impl GKGameSessionErrorCode
impl GKGameSessionErrorCode
pub const Unknown: Self
👎Deprecated: GKGameSession is deprecated, use real-time and turn-based matchmaking APIs instead.
pub const NotAuthenticated: Self
👎Deprecated: GKGameSession is deprecated, use real-time and turn-based matchmaking APIs instead.
pub const SessionConflict: Self
👎Deprecated: GKGameSession is deprecated, use real-time and turn-based matchmaking APIs instead.
👎Deprecated: GKGameSession is deprecated, use real-time and turn-based matchmaking APIs instead.
pub const ConnectionCancelledByUser: Self
👎Deprecated: GKGameSession is deprecated, use real-time and turn-based matchmaking APIs instead.
pub const ConnectionFailed: Self
👎Deprecated: GKGameSession is deprecated, use real-time and turn-based matchmaking APIs instead.
pub const SessionHasMaxConnectedPlayers: Self
👎Deprecated: GKGameSession is deprecated, use real-time and turn-based matchmaking APIs instead.
pub const SendDataNotConnected: Self
👎Deprecated: GKGameSession is deprecated, use real-time and turn-based matchmaking APIs instead.
pub const SendDataNoRecipients: Self
👎Deprecated: GKGameSession is deprecated, use real-time and turn-based matchmaking APIs instead.
pub const SendDataNotReachable: Self
👎Deprecated: GKGameSession is deprecated, use real-time and turn-based matchmaking APIs instead.
pub const SendRateLimitReached: Self
👎Deprecated: GKGameSession is deprecated, use real-time and turn-based matchmaking APIs instead.
pub const BadContainer: Self
👎Deprecated: GKGameSession is deprecated, use real-time and turn-based matchmaking APIs instead.
pub const CloudQuotaExceeded: Self
👎Deprecated: GKGameSession is deprecated, use real-time and turn-based matchmaking APIs instead.
pub const NetworkFailure: Self
👎Deprecated: GKGameSession is deprecated, use real-time and turn-based matchmaking APIs instead.
pub const CloudDriveDisabled: Self
👎Deprecated: GKGameSession is deprecated, use real-time and turn-based matchmaking APIs instead.
pub const InvalidSession: Self
👎Deprecated: GKGameSession is deprecated, use real-time and turn-based matchmaking APIs instead.
Trait Implementations§
Source§impl Clone for GKGameSessionErrorCode
impl Clone for GKGameSessionErrorCode
Source§fn clone(&self) -> GKGameSessionErrorCode
fn clone(&self) -> GKGameSessionErrorCode
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 GKGameSessionErrorCode
impl Debug for GKGameSessionErrorCode
Source§impl Encode for GKGameSessionErrorCode
impl Encode for GKGameSessionErrorCode
Source§impl Hash for GKGameSessionErrorCode
impl Hash for GKGameSessionErrorCode
Source§impl Ord for GKGameSessionErrorCode
impl Ord for GKGameSessionErrorCode
Source§fn cmp(&self, other: &GKGameSessionErrorCode) -> Ordering
fn cmp(&self, other: &GKGameSessionErrorCode) -> 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 GKGameSessionErrorCode
impl PartialEq for GKGameSessionErrorCode
Source§impl PartialOrd for GKGameSessionErrorCode
impl PartialOrd for GKGameSessionErrorCode
Source§impl RefEncode for GKGameSessionErrorCode
impl RefEncode for GKGameSessionErrorCode
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 GKGameSessionErrorCode
impl Eq for GKGameSessionErrorCode
impl StructuralPartialEq for GKGameSessionErrorCode
Auto Trait Implementations§
impl Freeze for GKGameSessionErrorCode
impl RefUnwindSafe for GKGameSessionErrorCode
impl Send for GKGameSessionErrorCode
impl Sync for GKGameSessionErrorCode
impl Unpin for GKGameSessionErrorCode
impl UnwindSafe for GKGameSessionErrorCode
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.