#[non_exhaustive]#[repr(i32)]pub enum ESteamNetworkingIdentityType {
k_ESteamNetworkingIdentityType_Invalid = 0,
k_ESteamNetworkingIdentityType_SteamID = 16,
k_ESteamNetworkingIdentityType_XboxPairwiseID = 17,
k_ESteamNetworkingIdentityType_SonyPSN = 18,
k_ESteamNetworkingIdentityType_GoogleStadia = 19,
k_ESteamNetworkingIdentityType_IPAddress = 1,
k_ESteamNetworkingIdentityType_GenericString = 2,
k_ESteamNetworkingIdentityType_GenericBytes = 3,
k_ESteamNetworkingIdentityType_UnknownType = 4,
k_ESteamNetworkingIdentityType__Force32bit = 2_147_483_647,
}
Expand description
Different methods of describing the identity of a network host
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
k_ESteamNetworkingIdentityType_Invalid = 0
k_ESteamNetworkingIdentityType_SteamID = 16
k_ESteamNetworkingIdentityType_XboxPairwiseID = 17
k_ESteamNetworkingIdentityType_SonyPSN = 18
k_ESteamNetworkingIdentityType_GoogleStadia = 19
k_ESteamNetworkingIdentityType_IPAddress = 1
k_ESteamNetworkingIdentityType_GenericString = 2
k_ESteamNetworkingIdentityType_GenericBytes = 3
k_ESteamNetworkingIdentityType_UnknownType = 4
k_ESteamNetworkingIdentityType__Force32bit = 2_147_483_647
Trait Implementations§
source§impl Clone for ESteamNetworkingIdentityType
impl Clone for ESteamNetworkingIdentityType
source§fn clone(&self) -> ESteamNetworkingIdentityType
fn clone(&self) -> ESteamNetworkingIdentityType
Returns a copy 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 ESteamNetworkingIdentityType
impl Debug for ESteamNetworkingIdentityType
source§impl Hash for ESteamNetworkingIdentityType
impl Hash for ESteamNetworkingIdentityType
source§impl PartialEq for ESteamNetworkingIdentityType
impl PartialEq for ESteamNetworkingIdentityType
source§fn eq(&self, other: &ESteamNetworkingIdentityType) -> bool
fn eq(&self, other: &ESteamNetworkingIdentityType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ESteamNetworkingIdentityType
impl Eq for ESteamNetworkingIdentityType
impl StructuralPartialEq for ESteamNetworkingIdentityType
Auto Trait Implementations§
impl RefUnwindSafe for ESteamNetworkingIdentityType
impl Send for ESteamNetworkingIdentityType
impl Sync for ESteamNetworkingIdentityType
impl Unpin for ESteamNetworkingIdentityType
impl UnwindSafe for ESteamNetworkingIdentityType
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