pub struct LocalNetworking {}

Trait Implementations§

Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more
Establishes a web socket connection (note: this does not use the virtual sockets and is standalone functionality that works without the network being connected)
Makes a HTTP request to a remote web resource The headers are separated by line breaks (note: this does not use the virtual sockets and is standalone functionality that works without the network being connected)
Bridges this local network with a remote network, which is required in order to make lower level networking calls (such as UDP/TCP)
Disconnects from the remote network essentially unbridging it
Acquires an IP address on the network and configures the routing tables
Adds a static IP address to the interface with a netmask prefix
Removes a static (or dynamic) IP address from the interface
Clears all the assigned IP addresses for this interface
Lists all the IP addresses currently assigned to this interface
Returns the hardware MAC address for this interface
Adds a default gateway to the routing table
Adds a specific route to the routing table
Removes a routing rule from the routing table
Clears the routing table for this interface
Lists all the routes defined in the routing table for this interface
Creates a low level socket that can read and write Ethernet packets directly to the interface
Lists for TCP connections on a specific IP and Port combination Multiple servers (processes or threads) can bind to the same port if they each set the reuse-port and-or reuse-addr flags
Opens a UDP socket that listens on a specific IP and Port combination Multiple servers (processes or threads) can bind to the same port if they each set the reuse-port and-or reuse-addr flags
Creates a socket that can be used to send and receive ICMP packets from a paritcular IP address
Opens a TCP connection to a particular destination IP address and port
Performs DNS resolution for a specific hostname

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more