pub enum Networking {
Show 20 variants
NetworkAccessDenied,
HostUnreachable,
ConnectionReset,
ConnectionAborted,
NotConnected,
HeadersCorrupted,
ServerNotResponding,
IpInUse,
PortInUse,
AddrInUse,
IpAvailable,
BrokenPipe,
NetConnExists,
InvalidNetInput,
InvalidNetData,
NetTimedOut,
Interrupted,
UnexpectedNetEof,
NetDriverBuggy,
Unspecified,
}
Expand description
re-exports Networking Specific
§Examples
let foo = Networking::NetworkAccessDenied;
assert_eq!(foo, Networking::NetworkAccessDenied);
Variants§
NetworkAccessDenied
Permission to access network is denied
HostUnreachable
Network is available but unable to reach destination host
ConnectionReset
Connection was reset and has been terminated
ConnectionAborted
Connection to the address has been stopped
NotConnected
The network operation failed because process has not finished connecting
HeadersCorrupted
Headers for a particular protocol corrupted
ServerNotResponding
Server access was reached but didnt respond
IpInUse
IP Address is already in use
PortInUse
Port is in use but IP is available
AddrInUse
The IP address and Port are both in use
IpAvailable
IP Address is available
BrokenPipe
Network Operation Failed because a pipe is broken
NetConnExists
Connection already exists
InvalidNetInput
Operation parameters are Invalid
InvalidNetData
Operation parameters are fine but operation data is invalid
NetTimedOut
The network operation timed out
Interrupted
The Network Operation was interrupted and can be resumed
UnexpectedNetEof
Unexpected end of connection
NetDriverBuggy
Connection Driver is buggy
Unspecified
Network Unspecified
Trait Implementations§
Source§impl Clone for Networking
impl Clone for Networking
Source§fn clone(&self) -> Networking
fn clone(&self) -> Networking
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more