]>
Commit | Line | Data |
---|---|---|
04454e1e | 1 | #[doc = "*Required features: `\"Devices_WiFi\"`*"] |
5e7ed085 FG |
2 | #[repr(transparent)] |
3 | pub struct WiFiAccessStatus(pub i32); | |
4 | impl WiFiAccessStatus { | |
5 | pub const Unspecified: Self = Self(0i32); | |
6 | pub const Allowed: Self = Self(1i32); | |
7 | pub const DeniedByUser: Self = Self(2i32); | |
8 | pub const DeniedBySystem: Self = Self(3i32); | |
9 | } | |
10 | impl ::core::marker::Copy for WiFiAccessStatus {} | |
11 | impl ::core::clone::Clone for WiFiAccessStatus { | |
12 | fn clone(&self) -> Self { | |
13 | *self | |
14 | } | |
15 | } | |
16 | pub type WiFiAdapter = *mut ::core::ffi::c_void; | |
17 | pub type WiFiAvailableNetwork = *mut ::core::ffi::c_void; | |
04454e1e | 18 | #[doc = "*Required features: `\"Devices_WiFi\"`*"] |
5e7ed085 FG |
19 | #[repr(transparent)] |
20 | pub struct WiFiConnectionMethod(pub i32); | |
21 | impl WiFiConnectionMethod { | |
22 | pub const Default: Self = Self(0i32); | |
23 | pub const WpsPin: Self = Self(1i32); | |
24 | pub const WpsPushButton: Self = Self(2i32); | |
25 | } | |
26 | impl ::core::marker::Copy for WiFiConnectionMethod {} | |
27 | impl ::core::clone::Clone for WiFiConnectionMethod { | |
28 | fn clone(&self) -> Self { | |
29 | *self | |
30 | } | |
31 | } | |
32 | pub type WiFiConnectionResult = *mut ::core::ffi::c_void; | |
04454e1e | 33 | #[doc = "*Required features: `\"Devices_WiFi\"`*"] |
5e7ed085 FG |
34 | #[repr(transparent)] |
35 | pub struct WiFiConnectionStatus(pub i32); | |
36 | impl WiFiConnectionStatus { | |
37 | pub const UnspecifiedFailure: Self = Self(0i32); | |
38 | pub const Success: Self = Self(1i32); | |
39 | pub const AccessRevoked: Self = Self(2i32); | |
40 | pub const InvalidCredential: Self = Self(3i32); | |
41 | pub const NetworkNotAvailable: Self = Self(4i32); | |
42 | pub const Timeout: Self = Self(5i32); | |
43 | pub const UnsupportedAuthenticationProtocol: Self = Self(6i32); | |
44 | } | |
45 | impl ::core::marker::Copy for WiFiConnectionStatus {} | |
46 | impl ::core::clone::Clone for WiFiConnectionStatus { | |
47 | fn clone(&self) -> Self { | |
48 | *self | |
49 | } | |
50 | } | |
04454e1e | 51 | #[doc = "*Required features: `\"Devices_WiFi\"`*"] |
5e7ed085 FG |
52 | #[repr(transparent)] |
53 | pub struct WiFiNetworkKind(pub i32); | |
54 | impl WiFiNetworkKind { | |
55 | pub const Any: Self = Self(0i32); | |
56 | pub const Infrastructure: Self = Self(1i32); | |
57 | pub const Adhoc: Self = Self(2i32); | |
58 | } | |
59 | impl ::core::marker::Copy for WiFiNetworkKind {} | |
60 | impl ::core::clone::Clone for WiFiNetworkKind { | |
61 | fn clone(&self) -> Self { | |
62 | *self | |
63 | } | |
64 | } | |
65 | pub type WiFiNetworkReport = *mut ::core::ffi::c_void; | |
04454e1e | 66 | #[doc = "*Required features: `\"Devices_WiFi\"`*"] |
5e7ed085 FG |
67 | #[repr(transparent)] |
68 | pub struct WiFiPhyKind(pub i32); | |
69 | impl WiFiPhyKind { | |
70 | pub const Unknown: Self = Self(0i32); | |
71 | pub const Fhss: Self = Self(1i32); | |
72 | pub const Dsss: Self = Self(2i32); | |
73 | pub const IRBaseband: Self = Self(3i32); | |
74 | pub const Ofdm: Self = Self(4i32); | |
75 | pub const Hrdsss: Self = Self(5i32); | |
76 | pub const Erp: Self = Self(6i32); | |
77 | pub const HT: Self = Self(7i32); | |
78 | pub const Vht: Self = Self(8i32); | |
79 | pub const Dmg: Self = Self(9i32); | |
80 | pub const HE: Self = Self(10i32); | |
81 | } | |
82 | impl ::core::marker::Copy for WiFiPhyKind {} | |
83 | impl ::core::clone::Clone for WiFiPhyKind { | |
84 | fn clone(&self) -> Self { | |
85 | *self | |
86 | } | |
87 | } | |
04454e1e | 88 | #[doc = "*Required features: `\"Devices_WiFi\"`*"] |
5e7ed085 FG |
89 | #[repr(transparent)] |
90 | pub struct WiFiReconnectionKind(pub i32); | |
91 | impl WiFiReconnectionKind { | |
92 | pub const Automatic: Self = Self(0i32); | |
93 | pub const Manual: Self = Self(1i32); | |
94 | } | |
95 | impl ::core::marker::Copy for WiFiReconnectionKind {} | |
96 | impl ::core::clone::Clone for WiFiReconnectionKind { | |
97 | fn clone(&self) -> Self { | |
98 | *self | |
99 | } | |
100 | } | |
101 | pub type WiFiWpsConfigurationResult = *mut ::core::ffi::c_void; | |
04454e1e | 102 | #[doc = "*Required features: `\"Devices_WiFi\"`*"] |
5e7ed085 FG |
103 | #[repr(transparent)] |
104 | pub struct WiFiWpsConfigurationStatus(pub i32); | |
105 | impl WiFiWpsConfigurationStatus { | |
106 | pub const UnspecifiedFailure: Self = Self(0i32); | |
107 | pub const Success: Self = Self(1i32); | |
108 | pub const Timeout: Self = Self(2i32); | |
109 | } | |
110 | impl ::core::marker::Copy for WiFiWpsConfigurationStatus {} | |
111 | impl ::core::clone::Clone for WiFiWpsConfigurationStatus { | |
112 | fn clone(&self) -> Self { | |
113 | *self | |
114 | } | |
115 | } | |
04454e1e | 116 | #[doc = "*Required features: `\"Devices_WiFi\"`*"] |
5e7ed085 FG |
117 | #[repr(transparent)] |
118 | pub struct WiFiWpsKind(pub i32); | |
119 | impl WiFiWpsKind { | |
120 | pub const Unknown: Self = Self(0i32); | |
121 | pub const Pin: Self = Self(1i32); | |
122 | pub const PushButton: Self = Self(2i32); | |
123 | pub const Nfc: Self = Self(3i32); | |
124 | pub const Ethernet: Self = Self(4i32); | |
125 | pub const Usb: Self = Self(5i32); | |
126 | } | |
127 | impl ::core::marker::Copy for WiFiWpsKind {} | |
128 | impl ::core::clone::Clone for WiFiWpsKind { | |
129 | fn clone(&self) -> Self { | |
130 | *self | |
131 | } | |
132 | } |