[−][src]Struct nl80211::Interface
A struct representing a wifi interface
Fields
index: Option<Vec<u8>>
A netlink interface index. This index is used to fetch extra information with nl80211
ssid: Option<Vec<u8>>
Interface essid
mac: Option<Vec<u8>>
Interface MAC address
name: Option<Vec<u8>>
Interface name (u8, String)
frequency: Option<Vec<u8>>
Interface frequency of the selected channel (u32, MHz)
channel: Option<Vec<u8>>
Interface chanel
power: Option<Vec<u8>>
Interface transmit power level in signed mBm units.
phy: Option<Vec<u8>>
index of wiphy to operate on, cf. /sys/class/ieee80211/
device: Option<Vec<u8>>
Wireless device identifier, used for pseudo-devices that don't have a netdev (u64)
Methods
impl Interface
[src]
pub fn default() -> Interface
[src]
pub fn get_station_info(&self) -> Result<Station, NlError>
[src]
Get station info for this interface
Trait Implementations
impl PrettyFormat for Interface
[src]
fn pretty_format(&self) -> String
[src]
impl ParseNlAttr for Interface
[src]
fn parse(&mut self, handle: AttrHandle<Nl80211Attr>) -> Interface
[src]
Parse netlink messages returned by the nl80211 command CmdGetInterface
impl Clone for Interface
[src]
impl PartialEq<Interface> for Interface
[src]
impl Debug for Interface
[src]
Auto Trait Implementations
impl Send for Interface
impl Unpin for Interface
impl Sync for Interface
impl UnwindSafe for Interface
impl RefUnwindSafe for Interface
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,