pub enum NetConnectionEnd {
Show 21 variants
AppGeneric,
AppException,
LocalOfflineMode,
LocalManyRelayConnectivity,
LocalHostedServerPrimaryRelay,
LocalNetworkConfig,
LocalRights,
LocalP2PICENoPublicAddresses,
RemoteTimeout,
RemoteBadEncrypt,
RemoteBadCert,
RemoteBadProtocolVersion,
RemoteP2PICENoPublicAddresses,
MiscGeneric,
MiscInternalError,
MiscTimeout,
MiscSteamConnectivity,
MiscNoRelaySessionsToClient,
MiscP2PRendezvous,
MiscP2PNATFirewall,
MiscPeerSentNoConnection,
}
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§
AppGeneric
AppException
LocalOfflineMode
LocalManyRelayConnectivity
LocalHostedServerPrimaryRelay
LocalNetworkConfig
LocalRights
LocalP2PICENoPublicAddresses
RemoteTimeout
RemoteBadEncrypt
RemoteBadCert
RemoteBadProtocolVersion
RemoteP2PICENoPublicAddresses
MiscGeneric
MiscInternalError
MiscTimeout
MiscSteamConnectivity
MiscNoRelaySessionsToClient
MiscP2PRendezvous
MiscP2PNATFirewall
MiscPeerSentNoConnection
Trait Implementations§
source§impl Clone for NetConnectionEnd
impl Clone for NetConnectionEnd
source§fn clone(&self) -> NetConnectionEnd
fn clone(&self) -> NetConnectionEnd
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 NetConnectionEnd
impl Debug for NetConnectionEnd
source§impl From<ESteamNetConnectionEnd> for NetConnectionEnd
impl From<ESteamNetConnectionEnd> for NetConnectionEnd
source§fn from(end: ESteamNetConnectionEnd) -> Self
fn from(end: ESteamNetConnectionEnd) -> Self
Converts to this type from the input type.
source§impl From<NetConnectionEnd> for ESteamNetConnectionEnd
impl From<NetConnectionEnd> for ESteamNetConnectionEnd
source§fn from(end: NetConnectionEnd) -> Self
fn from(end: NetConnectionEnd) -> Self
Converts to this type from the input type.
source§impl From<NetConnectionEnd> for i32
impl From<NetConnectionEnd> for i32
source§fn from(end: NetConnectionEnd) -> Self
fn from(end: NetConnectionEnd) -> Self
Converts to this type from the input type.
source§impl PartialEq for NetConnectionEnd
impl PartialEq for NetConnectionEnd
source§fn eq(&self, other: &NetConnectionEnd) -> bool
fn eq(&self, other: &NetConnectionEnd) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<i32> for NetConnectionEnd
impl TryFrom<i32> for NetConnectionEnd
impl Copy for NetConnectionEnd
impl Eq for NetConnectionEnd
impl StructuralPartialEq for NetConnectionEnd
Auto Trait Implementations§
impl RefUnwindSafe for NetConnectionEnd
impl Send for NetConnectionEnd
impl Sync for NetConnectionEnd
impl Unpin for NetConnectionEnd
impl UnwindSafe for NetConnectionEnd
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