Struct wifi_rs::WiFi

source ·
pub struct WiFi { /* private fields */ }
Expand description

Wireless network interface for linux operating system.

Implementations§

Trait Implementations§

Wireless network connectivity functionality.

Attempts to connect to a wireless network with a given SSID and password.

Attempts to disconnect from a wireless network currently connected to.

Formats the value using the given formatter. Read more

Wireless hotspot functionality for a wifi interface.

Creates wireless hotspot service for host machine. This only creats the wifi network, and isn’t responsible for initiating the serving of the wifi network process. To begin serving the hotspot, use start_hotspot().

Start serving publicly an already created wireless hotspot.

Stop serving a wireless network.

NOTE: All users connected will automatically be disconnected.

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.

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.