[][src]Struct tokio_wifiscanner::Wifi

pub struct Wifi {
    pub mac: String,
    pub ssid: String,
    pub channel: String,
    pub signal_level: String,
    pub security: String,
}

Wifi struct used to return information about wifi hotspots

Fields

mac: String

mac address

ssid: String

hotspot name

channel: Stringsignal_level: String

wifi signal strength in dBm

security: String

this field is currently empty in the Linux version of the lib

Trait Implementations

impl Clone for Wifi[src]

impl Debug for Wifi[src]

impl Default for Wifi[src]

impl Eq for Wifi[src]

impl PartialEq<Wifi> for Wifi[src]

impl StructuralEq for Wifi[src]

impl StructuralPartialEq for Wifi[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.