corewlan 0.2.0

Safe Rust bindings for Apple's CoreWLAN framework — inspect Wi-Fi interfaces, mutable configurations, event delegates, and preferred network state on macOS
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
mod common;

#[test]
fn channel_round_trip_and_equality() {
    if let Some(channel) = common::first_channel() {
        let clone = channel.clone();
        assert_eq!(channel, clone);
        let _ = channel.channel_number();
        let _ = channel.channel_width();
        let _ = channel.channel_band();
    }
}