Enum steamworks_sys::ESteamNetConnectionEnd[][src]

#[repr(u32)]
#[non_exhaustive]pub enum ESteamNetConnectionEnd {
    k_ESteamNetConnectionEnd_Invalid,
    k_ESteamNetConnectionEnd_App_Min,
    k_ESteamNetConnectionEnd_App_Max,
    k_ESteamNetConnectionEnd_AppException_Min,
    k_ESteamNetConnectionEnd_AppException_Max,
    k_ESteamNetConnectionEnd_Local_Min,
    k_ESteamNetConnectionEnd_Local_OfflineMode,
    k_ESteamNetConnectionEnd_Local_ManyRelayConnectivity,
    k_ESteamNetConnectionEnd_Local_HostedServerPrimaryRelay,
    k_ESteamNetConnectionEnd_Local_NetworkConfig,
    k_ESteamNetConnectionEnd_Local_Rights,
    k_ESteamNetConnectionEnd_Local_P2P_ICE_NoPublicAddresses,
    k_ESteamNetConnectionEnd_Local_Max,
    k_ESteamNetConnectionEnd_Remote_Min,
    k_ESteamNetConnectionEnd_Remote_Timeout,
    k_ESteamNetConnectionEnd_Remote_BadCrypt,
    k_ESteamNetConnectionEnd_Remote_BadCert,
    k_ESteamNetConnectionEnd_Remote_NotLoggedIn,
    k_ESteamNetConnectionEnd_Remote_NotRunningApp,
    k_ESteamNetConnectionEnd_Remote_BadProtocolVersion,
    k_ESteamNetConnectionEnd_Remote_P2P_ICE_NoPublicAddresses,
    k_ESteamNetConnectionEnd_Remote_Max,
    k_ESteamNetConnectionEnd_Misc_Min,
    k_ESteamNetConnectionEnd_Misc_Generic,
    k_ESteamNetConnectionEnd_Misc_InternalError,
    k_ESteamNetConnectionEnd_Misc_Timeout,
    k_ESteamNetConnectionEnd_Misc_RelayConnectivity,
    k_ESteamNetConnectionEnd_Misc_SteamConnectivity,
    k_ESteamNetConnectionEnd_Misc_NoRelaySessionsToClient,
    k_ESteamNetConnectionEnd_Misc_P2P_Rendezvous,
    k_ESteamNetConnectionEnd_Misc_P2P_NAT_Firewall,
    k_ESteamNetConnectionEnd_Misc_PeerSentNoConnection,
    k_ESteamNetConnectionEnd_Misc_Max,
    k_ESteamNetConnectionEnd__Force32Bit,
}

Enumerate various causes of connection termination. These are designed to work similar to HTTP error codes: the numeric range gives you a rough classification as to the source of the problem.

Variants (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_ESteamNetConnectionEnd_Invalid
k_ESteamNetConnectionEnd_App_Min
k_ESteamNetConnectionEnd_App_Max
k_ESteamNetConnectionEnd_AppException_Min
k_ESteamNetConnectionEnd_AppException_Max
k_ESteamNetConnectionEnd_Local_Min
k_ESteamNetConnectionEnd_Local_OfflineMode
k_ESteamNetConnectionEnd_Local_ManyRelayConnectivity
k_ESteamNetConnectionEnd_Local_HostedServerPrimaryRelay
k_ESteamNetConnectionEnd_Local_NetworkConfig
k_ESteamNetConnectionEnd_Local_Rights
k_ESteamNetConnectionEnd_Local_P2P_ICE_NoPublicAddresses
k_ESteamNetConnectionEnd_Local_Max
k_ESteamNetConnectionEnd_Remote_Min
k_ESteamNetConnectionEnd_Remote_Timeout
k_ESteamNetConnectionEnd_Remote_BadCrypt
k_ESteamNetConnectionEnd_Remote_BadCert
k_ESteamNetConnectionEnd_Remote_NotLoggedIn
k_ESteamNetConnectionEnd_Remote_NotRunningApp
k_ESteamNetConnectionEnd_Remote_BadProtocolVersion
k_ESteamNetConnectionEnd_Remote_P2P_ICE_NoPublicAddresses
k_ESteamNetConnectionEnd_Remote_Max
k_ESteamNetConnectionEnd_Misc_Min
k_ESteamNetConnectionEnd_Misc_Generic
k_ESteamNetConnectionEnd_Misc_InternalError
k_ESteamNetConnectionEnd_Misc_Timeout
k_ESteamNetConnectionEnd_Misc_RelayConnectivity
k_ESteamNetConnectionEnd_Misc_SteamConnectivity
k_ESteamNetConnectionEnd_Misc_NoRelaySessionsToClient
k_ESteamNetConnectionEnd_Misc_P2P_Rendezvous
k_ESteamNetConnectionEnd_Misc_P2P_NAT_Firewall
k_ESteamNetConnectionEnd_Misc_PeerSentNoConnection
k_ESteamNetConnectionEnd_Misc_Max
k_ESteamNetConnectionEnd__Force32Bit

Implementations

impl ESteamNetConnectionEnd[src]

impl ESteamNetConnectionEnd[src]

Trait Implementations

impl Clone for ESteamNetConnectionEnd[src]

impl Copy for ESteamNetConnectionEnd[src]

impl Debug for ESteamNetConnectionEnd[src]

impl Eq for ESteamNetConnectionEnd[src]

impl Hash for ESteamNetConnectionEnd[src]

impl PartialEq<ESteamNetConnectionEnd> for ESteamNetConnectionEnd[src]

impl StructuralEq for ESteamNetConnectionEnd[src]

impl StructuralPartialEq for ESteamNetConnectionEnd[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.