Docs.rs
  • passcod-networkmanager-0.6.0
    • passcod-networkmanager 0.6.0
    • Docs.rs crate page
    • MIT OR Apache-2.0
    • Links
    • Repository
    • crates.io
    • Source
    • Owners
    • passcod
    • Dependencies
      • dbus ^0.9.7 normal
      • num-derive ^0.4.1 normal
      • num-traits ^0.2.17 normal
      • thiserror ^1.0.56 normal
    • Versions
    • 0.93% of the crate is documented
  • Go to latest version
  • Platform
    • x86_64-unknown-linux-gnu
  • Feature flags
  • docs.rs
    • About docs.rs
    • Badges
    • Builds
    • Metadata
    • Shorthand URLs
    • Download
    • Rustdoc JSON
    • Build queue
    • Privacy policy
  • Rust
    • Rust website
    • The Book
    • Standard Library API Reference
    • Rust by Example
    • The Cargo Guide
    • Clippy Documentation

passcod_networkmanager0.6.0

Wireless

Required Methods

  • access_points
  • active_access_point
  • bitrate
  • get_access_points
  • get_all_access_points
  • hw_address
  • last_scan
  • mode
  • perm_hw_address
  • request_scan
  • wireless_capabilities

Implementors

In passcod_networkmanager::devices

?
Change settings

Trait passcod_networkmanager::devices::Wireless

source ·
pub trait Wireless {
    // Required methods
    fn get_access_points(&self) -> Result<Vec<AccessPoint>, Error>;
    fn get_all_access_points(&self) -> Result<Vec<AccessPoint>, Error>;
    fn request_scan(
        &self,
        options: HashMap<String, Variant<Box<dyn RefArg>>>
    ) -> Result<(), Error>;
    fn hw_address(&self) -> Result<String, Error>;
    fn perm_hw_address(&self) -> Result<String, Error>;
    fn mode(&self) -> Result<u32, Error>;
    fn bitrate(&self) -> Result<u32, Error>;
    fn access_points(&self) -> Result<Vec<AccessPoint>, Error>;
    fn active_access_point(&self) -> Result<AccessPoint, Error>;
    fn wireless_capabilities(&self) -> Result<u32, Error>;
    fn last_scan(&self) -> Result<i64, Error>;
}

Required Methods§

source

fn get_access_points(&self) -> Result<Vec<AccessPoint>, Error>

source

fn get_all_access_points(&self) -> Result<Vec<AccessPoint>, Error>

source

fn request_scan( &self, options: HashMap<String, Variant<Box<dyn RefArg>>> ) -> Result<(), Error>

source

fn hw_address(&self) -> Result<String, Error>

source

fn perm_hw_address(&self) -> Result<String, Error>

source

fn mode(&self) -> Result<u32, Error>

source

fn bitrate(&self) -> Result<u32, Error>

source

fn access_points(&self) -> Result<Vec<AccessPoint>, Error>

source

fn active_access_point(&self) -> Result<AccessPoint, Error>

source

fn wireless_capabilities(&self) -> Result<u32, Error>

source

fn last_scan(&self) -> Result<i64, Error>

Implementors§

source§

impl Wireless for WiFiDevice