Enum gns_sys::ESteamNetConnectionEnd
source · [−]#[repr(u32)]
pub enum ESteamNetConnectionEnd {
Show 31 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_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_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,
}
Expand description
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
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_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_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
sourceimpl ESteamNetConnectionEnd
impl ESteamNetConnectionEnd
pub const k_ESteamNetConnectionEnd_App_Generic: ESteamNetConnectionEnd = ESteamNetConnectionEnd::k_ESteamNetConnectionEnd_App_Min
sourceimpl ESteamNetConnectionEnd
impl ESteamNetConnectionEnd
pub const k_ESteamNetConnectionEnd_AppException_Generic: ESteamNetConnectionEnd = ESteamNetConnectionEnd::k_ESteamNetConnectionEnd_AppException_Min
Trait Implementations
sourceimpl Clone for ESteamNetConnectionEnd
impl Clone for ESteamNetConnectionEnd
sourcefn clone(&self) -> ESteamNetConnectionEnd
fn clone(&self) -> ESteamNetConnectionEnd
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ESteamNetConnectionEnd
impl Debug for ESteamNetConnectionEnd
sourceimpl Hash for ESteamNetConnectionEnd
impl Hash for ESteamNetConnectionEnd
sourceimpl Ord for ESteamNetConnectionEnd
impl Ord for ESteamNetConnectionEnd
sourcefn cmp(&self, other: &ESteamNetConnectionEnd) -> Ordering
fn cmp(&self, other: &ESteamNetConnectionEnd) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Self where
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Self where
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialOrd<ESteamNetConnectionEnd> for ESteamNetConnectionEnd
impl PartialOrd<ESteamNetConnectionEnd> for ESteamNetConnectionEnd
sourcefn partial_cmp(&self, other: &ESteamNetConnectionEnd) -> Option<Ordering>
fn partial_cmp(&self, other: &ESteamNetConnectionEnd) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
impl Copy for ESteamNetConnectionEnd
impl Eq for ESteamNetConnectionEnd
impl StructuralEq for ESteamNetConnectionEnd
impl StructuralPartialEq for ESteamNetConnectionEnd
Auto Trait Implementations
impl RefUnwindSafe for ESteamNetConnectionEnd
impl Send for ESteamNetConnectionEnd
impl Sync for ESteamNetConnectionEnd
impl Unpin for ESteamNetConnectionEnd
impl UnwindSafe for ESteamNetConnectionEnd
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more