#[repr(transparent)]pub struct GKErrorCode(pub NSInteger);
Available on crate feature
GKError
only.Expand description
Tuple Fields§
§0: NSInteger
Implementations§
Source§impl GKErrorCode
impl GKErrorCode
pub const Unknown: Self
pub const Cancelled: Self
pub const CommunicationsFailure: Self
pub const UserDenied: Self
pub const InvalidCredentials: Self
pub const NotAuthenticated: Self
pub const AuthenticationInProgress: Self
pub const InvalidPlayer: Self
pub const ScoreNotSet: Self
pub const ParentalControlsBlocked: Self
pub const PlayerStatusExceedsMaximumLength: Self
pub const PlayerStatusInvalid: Self
pub const MatchRequestInvalid: Self
pub const Underage: Self
pub const GameUnrecognized: Self
pub const NotSupported: Self
pub const InvalidParameter: Self
pub const UnexpectedConnection: Self
pub const ChallengeInvalid: Self
pub const TurnBasedMatchDataTooLarge: Self
pub const TurnBasedTooManySessions: Self
pub const TurnBasedInvalidParticipant: Self
pub const TurnBasedInvalidTurn: Self
pub const TurnBasedInvalidState: Self
pub const InvitationsDisabled: Self
pub const PlayerPhotoFailure: Self
pub const MatchNotConnected: Self
pub const GameSessionRequestInvalid: Self
pub const RestrictedToAutomatch: Self
pub const APINotAvailable: Self
pub const NotAuthorized: Self
pub const ConnectionTimeout: Self
pub const APIObsolete: Self
pub const LockdownMode: Self
pub const AppUnlisted: Self
pub const DebugMode: Self
pub const FriendListDescriptionMissing: Self
pub const FriendListRestricted: Self
pub const FriendListDenied: Self
pub const FriendRequestNotAvailable: Self
Trait Implementations§
Source§impl Clone for GKErrorCode
impl Clone for GKErrorCode
Source§fn clone(&self) -> GKErrorCode
fn clone(&self) -> GKErrorCode
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 GKErrorCode
impl Debug for GKErrorCode
Source§impl Encode for GKErrorCode
impl Encode for GKErrorCode
Source§impl Hash for GKErrorCode
impl Hash for GKErrorCode
Source§impl Ord for GKErrorCode
impl Ord for GKErrorCode
Source§fn cmp(&self, other: &GKErrorCode) -> Ordering
fn cmp(&self, other: &GKErrorCode) -> 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 GKErrorCode
impl PartialEq for GKErrorCode
Source§impl PartialOrd for GKErrorCode
impl PartialOrd for GKErrorCode
Source§impl RefEncode for GKErrorCode
impl RefEncode for GKErrorCode
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 GKErrorCode
impl Eq for GKErrorCode
impl StructuralPartialEq for GKErrorCode
Auto Trait Implementations§
impl Freeze for GKErrorCode
impl RefUnwindSafe for GKErrorCode
impl Send for GKErrorCode
impl Sync for GKErrorCode
impl Unpin for GKErrorCode
impl UnwindSafe for GKErrorCode
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.