kawaiifi 0.2.0

Wi-Fi scanning library for Linux, macOS, and Windows.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use thiserror::Error;

/// Errors that can occur while scanning for Wi-Fi networks on Windows.
#[derive(Error, Debug)]
pub enum Error {
    /// The scan operation was denied by the operating system.
    #[error("Permission denied")]
    PermissionDenied,

    /// An I/O operation failed.
    #[error(transparent)]
    IOError(#[from] std::io::Error),
}