]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/Networking/NetworkOperators/mod.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Networking / NetworkOperators / mod.rs
CommitLineData
04454e1e 1#[doc = "*Required features: `\"Networking_NetworkOperators\"`*"]
5e7ed085
FG
2#[repr(transparent)]
3pub struct DataClasses(pub u32);
4impl DataClasses {
5 pub const None: Self = Self(0u32);
6 pub const Gprs: Self = Self(1u32);
7 pub const Edge: Self = Self(2u32);
8 pub const Umts: Self = Self(4u32);
9 pub const Hsdpa: Self = Self(8u32);
10 pub const Hsupa: Self = Self(16u32);
11 pub const LteAdvanced: Self = Self(32u32);
12 pub const NewRadioNonStandalone: Self = Self(64u32);
13 pub const NewRadioStandalone: Self = Self(128u32);
14 pub const Cdma1xRtt: Self = Self(65536u32);
15 pub const Cdma1xEvdo: Self = Self(131072u32);
16 pub const Cdma1xEvdoRevA: Self = Self(262144u32);
17 pub const Cdma1xEvdv: Self = Self(524288u32);
18 pub const Cdma3xRtt: Self = Self(1048576u32);
19 pub const Cdma1xEvdoRevB: Self = Self(2097152u32);
20 pub const CdmaUmb: Self = Self(4194304u32);
21 pub const Custom: Self = Self(2147483648u32);
22}
23impl ::core::marker::Copy for DataClasses {}
24impl ::core::clone::Clone for DataClasses {
25 fn clone(&self) -> Self {
26 *self
27 }
28}
29pub type ESim = *mut ::core::ffi::c_void;
30pub type ESimAddedEventArgs = *mut ::core::ffi::c_void;
04454e1e 31#[doc = "*Required features: `\"Networking_NetworkOperators\"`*"]
5e7ed085
FG
32#[repr(transparent)]
33pub struct ESimAuthenticationPreference(pub i32);
34impl ESimAuthenticationPreference {
35 pub const OnEntry: Self = Self(0i32);
36 pub const OnAction: Self = Self(1i32);
37 pub const Never: Self = Self(2i32);
38}
39impl ::core::marker::Copy for ESimAuthenticationPreference {}
40impl ::core::clone::Clone for ESimAuthenticationPreference {
41 fn clone(&self) -> Self {
42 *self
43 }
44}
45pub type ESimDiscoverEvent = *mut ::core::ffi::c_void;
46pub type ESimDiscoverResult = *mut ::core::ffi::c_void;
04454e1e 47#[doc = "*Required features: `\"Networking_NetworkOperators\"`*"]
5e7ed085
FG
48#[repr(transparent)]
49pub struct ESimDiscoverResultKind(pub i32);
50impl ESimDiscoverResultKind {
51 pub const None: Self = Self(0i32);
52 pub const Events: Self = Self(1i32);
53 pub const ProfileMetadata: Self = Self(2i32);
54}
55impl ::core::marker::Copy for ESimDiscoverResultKind {}
56impl ::core::clone::Clone for ESimDiscoverResultKind {
57 fn clone(&self) -> Self {
58 *self
59 }
60}
61pub type ESimDownloadProfileMetadataResult = *mut ::core::ffi::c_void;
62pub type ESimOperationResult = *mut ::core::ffi::c_void;
04454e1e 63#[doc = "*Required features: `\"Networking_NetworkOperators\"`*"]
5e7ed085
FG
64#[repr(transparent)]
65pub struct ESimOperationStatus(pub i32);
66impl ESimOperationStatus {
67 pub const Success: Self = Self(0i32);
68 pub const NotAuthorized: Self = Self(1i32);
69 pub const NotFound: Self = Self(2i32);
70 pub const PolicyViolation: Self = Self(3i32);
71 pub const InsufficientSpaceOnCard: Self = Self(4i32);
72 pub const ServerFailure: Self = Self(5i32);
73 pub const ServerNotReachable: Self = Self(6i32);
74 pub const TimeoutWaitingForUserConsent: Self = Self(7i32);
75 pub const IncorrectConfirmationCode: Self = Self(8i32);
76 pub const ConfirmationCodeMaxRetriesExceeded: Self = Self(9i32);
77 pub const CardRemoved: Self = Self(10i32);
78 pub const CardBusy: Self = Self(11i32);
79 pub const Other: Self = Self(12i32);
80 pub const CardGeneralFailure: Self = Self(13i32);
81 pub const ConfirmationCodeMissing: Self = Self(14i32);
82 pub const InvalidMatchingId: Self = Self(15i32);
83 pub const NoEligibleProfileForThisDevice: Self = Self(16i32);
84 pub const OperationAborted: Self = Self(17i32);
85 pub const EidMismatch: Self = Self(18i32);
86 pub const ProfileNotAvailableForNewBinding: Self = Self(19i32);
87 pub const ProfileNotReleasedByOperator: Self = Self(20i32);
88 pub const OperationProhibitedByProfileClass: Self = Self(21i32);
89 pub const ProfileNotPresent: Self = Self(22i32);
90 pub const NoCorrespondingRequest: Self = Self(23i32);
91 pub const TimeoutWaitingForResponse: Self = Self(24i32);
92 pub const IccidAlreadyExists: Self = Self(25i32);
93 pub const ProfileProcessingError: Self = Self(26i32);
94 pub const ServerNotTrusted: Self = Self(27i32);
95 pub const ProfileDownloadMaxRetriesExceeded: Self = Self(28i32);
96}
97impl ::core::marker::Copy for ESimOperationStatus {}
98impl ::core::clone::Clone for ESimOperationStatus {
99 fn clone(&self) -> Self {
100 *self
101 }
102}
103pub type ESimPolicy = *mut ::core::ffi::c_void;
104pub type ESimProfile = *mut ::core::ffi::c_void;
04454e1e 105#[doc = "*Required features: `\"Networking_NetworkOperators\"`*"]
5e7ed085
FG
106#[repr(transparent)]
107pub struct ESimProfileClass(pub i32);
108impl ESimProfileClass {
109 pub const Operational: Self = Self(0i32);
110 pub const Test: Self = Self(1i32);
111 pub const Provisioning: Self = Self(2i32);
112}
113impl ::core::marker::Copy for ESimProfileClass {}
114impl ::core::clone::Clone for ESimProfileClass {
115 fn clone(&self) -> Self {
116 *self
117 }
118}
119#[repr(C)]
04454e1e 120#[doc = "*Required features: `\"Networking_NetworkOperators\"`*"]
5e7ed085
FG
121pub struct ESimProfileInstallProgress {
122 pub TotalSizeInBytes: i32,
123 pub InstalledSizeInBytes: i32,
124}
125impl ::core::marker::Copy for ESimProfileInstallProgress {}
126impl ::core::clone::Clone for ESimProfileInstallProgress {
127 fn clone(&self) -> Self {
128 *self
129 }
130}
131pub type ESimProfileMetadata = *mut ::core::ffi::c_void;
04454e1e 132#[doc = "*Required features: `\"Networking_NetworkOperators\"`*"]
5e7ed085
FG
133#[repr(transparent)]
134pub struct ESimProfileMetadataState(pub i32);
135impl ESimProfileMetadataState {
136 pub const Unknown: Self = Self(0i32);
137 pub const WaitingForInstall: Self = Self(1i32);
138 pub const Downloading: Self = Self(2i32);
139 pub const Installing: Self = Self(3i32);
140 pub const Expired: Self = Self(4i32);
141 pub const RejectingDownload: Self = Self(5i32);
142 pub const NoLongerAvailable: Self = Self(6i32);
143 pub const DeniedByPolicy: Self = Self(7i32);
144}
145impl ::core::marker::Copy for ESimProfileMetadataState {}
146impl ::core::clone::Clone for ESimProfileMetadataState {
147 fn clone(&self) -> Self {
148 *self
149 }
150}
151pub type ESimProfilePolicy = *mut ::core::ffi::c_void;
04454e1e 152#[doc = "*Required features: `\"Networking_NetworkOperators\"`*"]
5e7ed085
FG
153#[repr(transparent)]
154pub struct ESimProfileState(pub i32);
155impl ESimProfileState {
156 pub const Unknown: Self = Self(0i32);
157 pub const Disabled: Self = Self(1i32);
158 pub const Enabled: Self = Self(2i32);
159 pub const Deleted: Self = Self(3i32);
160}
161impl ::core::marker::Copy for ESimProfileState {}
162impl ::core::clone::Clone for ESimProfileState {
163 fn clone(&self) -> Self {
164 *self
165 }
166}
167pub type ESimRemovedEventArgs = *mut ::core::ffi::c_void;
168pub type ESimServiceInfo = *mut ::core::ffi::c_void;
04454e1e 169#[doc = "*Required features: `\"Networking_NetworkOperators\"`*"]
5e7ed085
FG
170#[repr(transparent)]
171pub struct ESimState(pub i32);
172impl ESimState {
173 pub const Unknown: Self = Self(0i32);
174 pub const Idle: Self = Self(1i32);
175 pub const Removed: Self = Self(2i32);
176 pub const Busy: Self = Self(3i32);
177}
178impl ::core::marker::Copy for ESimState {}
179impl ::core::clone::Clone for ESimState {
180 fn clone(&self) -> Self {
181 *self
182 }
183}
184pub type ESimUpdatedEventArgs = *mut ::core::ffi::c_void;
185pub type ESimWatcher = *mut ::core::ffi::c_void;
04454e1e 186#[doc = "*Required features: `\"Networking_NetworkOperators\"`*"]
5e7ed085
FG
187#[repr(transparent)]
188pub struct ESimWatcherStatus(pub i32);
189impl ESimWatcherStatus {
190 pub const Created: Self = Self(0i32);
191 pub const Started: Self = Self(1i32);
192 pub const EnumerationCompleted: Self = Self(2i32);
193 pub const Stopping: Self = Self(3i32);
194 pub const Stopped: Self = Self(4i32);
195}
196impl ::core::marker::Copy for ESimWatcherStatus {}
197impl ::core::clone::Clone for ESimWatcherStatus {
198 fn clone(&self) -> Self {
199 *self
200 }
201}
202pub type HotspotAuthenticationContext = *mut ::core::ffi::c_void;
203pub type HotspotAuthenticationEventDetails = *mut ::core::ffi::c_void;
04454e1e 204#[doc = "*Required features: `\"Networking_NetworkOperators\"`*"]
5e7ed085
FG
205#[repr(transparent)]
206pub struct HotspotAuthenticationResponseCode(pub i32);
207impl HotspotAuthenticationResponseCode {
208 pub const NoError: Self = Self(0i32);
209 pub const LoginSucceeded: Self = Self(50i32);
210 pub const LoginFailed: Self = Self(100i32);
211 pub const RadiusServerError: Self = Self(102i32);
212 pub const NetworkAdministratorError: Self = Self(105i32);
213 pub const LoginAborted: Self = Self(151i32);
214 pub const AccessGatewayInternalError: Self = Self(255i32);
215}
216impl ::core::marker::Copy for HotspotAuthenticationResponseCode {}
217impl ::core::clone::Clone for HotspotAuthenticationResponseCode {
218 fn clone(&self) -> Self {
219 *self
220 }
221}
222pub type HotspotCredentialsAuthenticationResult = *mut ::core::ffi::c_void;
223pub type MobileBroadbandAccount = *mut ::core::ffi::c_void;
224pub type MobileBroadbandAccountEventArgs = *mut ::core::ffi::c_void;
225pub type MobileBroadbandAccountUpdatedEventArgs = *mut ::core::ffi::c_void;
226pub type MobileBroadbandAccountWatcher = *mut ::core::ffi::c_void;
04454e1e 227#[doc = "*Required features: `\"Networking_NetworkOperators\"`*"]
5e7ed085
FG
228#[repr(transparent)]
229pub struct MobileBroadbandAccountWatcherStatus(pub i32);
230impl MobileBroadbandAccountWatcherStatus {
231 pub const Created: Self = Self(0i32);
232 pub const Started: Self = Self(1i32);
233 pub const EnumerationCompleted: Self = Self(2i32);
234 pub const Stopped: Self = Self(3i32);
235 pub const Aborted: Self = Self(4i32);
236}
237impl ::core::marker::Copy for MobileBroadbandAccountWatcherStatus {}
238impl ::core::clone::Clone for MobileBroadbandAccountWatcherStatus {
239 fn clone(&self) -> Self {
240 *self
241 }
242}
243pub type MobileBroadbandAntennaSar = *mut ::core::ffi::c_void;
244pub type MobileBroadbandCellCdma = *mut ::core::ffi::c_void;
245pub type MobileBroadbandCellGsm = *mut ::core::ffi::c_void;
246pub type MobileBroadbandCellLte = *mut ::core::ffi::c_void;
247pub type MobileBroadbandCellNR = *mut ::core::ffi::c_void;
248pub type MobileBroadbandCellTdscdma = *mut ::core::ffi::c_void;
249pub type MobileBroadbandCellUmts = *mut ::core::ffi::c_void;
250pub type MobileBroadbandCellsInfo = *mut ::core::ffi::c_void;
251pub type MobileBroadbandCurrentSlotIndexChangedEventArgs = *mut ::core::ffi::c_void;
252pub type MobileBroadbandDeviceInformation = *mut ::core::ffi::c_void;
253pub type MobileBroadbandDeviceService = *mut ::core::ffi::c_void;
254pub type MobileBroadbandDeviceServiceCommandResult = *mut ::core::ffi::c_void;
255pub type MobileBroadbandDeviceServiceCommandSession = *mut ::core::ffi::c_void;
256pub type MobileBroadbandDeviceServiceDataReceivedEventArgs = *mut ::core::ffi::c_void;
257pub type MobileBroadbandDeviceServiceDataSession = *mut ::core::ffi::c_void;
258pub type MobileBroadbandDeviceServiceInformation = *mut ::core::ffi::c_void;
259pub type MobileBroadbandDeviceServiceTriggerDetails = *mut ::core::ffi::c_void;
04454e1e 260#[doc = "*Required features: `\"Networking_NetworkOperators\"`*"]
5e7ed085
FG
261#[repr(transparent)]
262pub struct MobileBroadbandDeviceType(pub i32);
263impl MobileBroadbandDeviceType {
264 pub const Unknown: Self = Self(0i32);
265 pub const Embedded: Self = Self(1i32);
266 pub const Removable: Self = Self(2i32);
267 pub const Remote: Self = Self(3i32);
268}
269impl ::core::marker::Copy for MobileBroadbandDeviceType {}
270impl ::core::clone::Clone for MobileBroadbandDeviceType {
271 fn clone(&self) -> Self {
272 *self
273 }
274}
275pub type MobileBroadbandModem = *mut ::core::ffi::c_void;
276pub type MobileBroadbandModemConfiguration = *mut ::core::ffi::c_void;
277pub type MobileBroadbandModemIsolation = *mut ::core::ffi::c_void;
04454e1e 278#[doc = "*Required features: `\"Networking_NetworkOperators\"`*"]
5e7ed085
FG
279#[repr(transparent)]
280pub struct MobileBroadbandModemStatus(pub i32);
281impl MobileBroadbandModemStatus {
282 pub const Success: Self = Self(0i32);
283 pub const OtherFailure: Self = Self(1i32);
284 pub const Busy: Self = Self(2i32);
285 pub const NoDeviceSupport: Self = Self(3i32);
286}
287impl ::core::marker::Copy for MobileBroadbandModemStatus {}
288impl ::core::clone::Clone for MobileBroadbandModemStatus {
289 fn clone(&self) -> Self {
290 *self
291 }
292}
293pub type MobileBroadbandNetwork = *mut ::core::ffi::c_void;
294pub type MobileBroadbandNetworkRegistrationStateChange = *mut ::core::ffi::c_void;
295pub type MobileBroadbandNetworkRegistrationStateChangeTriggerDetails = *mut ::core::ffi::c_void;
296pub type MobileBroadbandPco = *mut ::core::ffi::c_void;
297pub type MobileBroadbandPcoDataChangeTriggerDetails = *mut ::core::ffi::c_void;
298pub type MobileBroadbandPin = *mut ::core::ffi::c_void;
04454e1e 299#[doc = "*Required features: `\"Networking_NetworkOperators\"`*"]
5e7ed085
FG
300#[repr(transparent)]
301pub struct MobileBroadbandPinFormat(pub i32);
302impl MobileBroadbandPinFormat {
303 pub const Unknown: Self = Self(0i32);
304 pub const Numeric: Self = Self(1i32);
305 pub const Alphanumeric: Self = Self(2i32);
306}
307impl ::core::marker::Copy for MobileBroadbandPinFormat {}
308impl ::core::clone::Clone for MobileBroadbandPinFormat {
309 fn clone(&self) -> Self {
310 *self
311 }
312}
04454e1e 313#[doc = "*Required features: `\"Networking_NetworkOperators\"`*"]
5e7ed085
FG
314#[repr(transparent)]
315pub struct MobileBroadbandPinLockState(pub i32);
316impl MobileBroadbandPinLockState {
317 pub const Unknown: Self = Self(0i32);
318 pub const Unlocked: Self = Self(1i32);
319 pub const PinRequired: Self = Self(2i32);
320 pub const PinUnblockKeyRequired: Self = Self(3i32);
321}
322impl ::core::marker::Copy for MobileBroadbandPinLockState {}
323impl ::core::clone::Clone for MobileBroadbandPinLockState {
324 fn clone(&self) -> Self {
325 *self
326 }
327}
328pub type MobileBroadbandPinLockStateChange = *mut ::core::ffi::c_void;
329pub type MobileBroadbandPinLockStateChangeTriggerDetails = *mut ::core::ffi::c_void;
330pub type MobileBroadbandPinManager = *mut ::core::ffi::c_void;
331pub type MobileBroadbandPinOperationResult = *mut ::core::ffi::c_void;
04454e1e 332#[doc = "*Required features: `\"Networking_NetworkOperators\"`*"]
5e7ed085
FG
333#[repr(transparent)]
334pub struct MobileBroadbandPinType(pub i32);
335impl MobileBroadbandPinType {
336 pub const None: Self = Self(0i32);
337 pub const Custom: Self = Self(1i32);
338 pub const Pin1: Self = Self(2i32);
339 pub const Pin2: Self = Self(3i32);
340 pub const SimPin: Self = Self(4i32);
341 pub const FirstSimPin: Self = Self(5i32);
342 pub const NetworkPin: Self = Self(6i32);
343 pub const NetworkSubsetPin: Self = Self(7i32);
344 pub const ServiceProviderPin: Self = Self(8i32);
345 pub const CorporatePin: Self = Self(9i32);
346 pub const SubsidyLock: Self = Self(10i32);
347}
348impl ::core::marker::Copy for MobileBroadbandPinType {}
349impl ::core::clone::Clone for MobileBroadbandPinType {
350 fn clone(&self) -> Self {
351 *self
352 }
353}
04454e1e 354#[doc = "*Required features: `\"Networking_NetworkOperators\"`*"]
5e7ed085
FG
355#[repr(transparent)]
356pub struct MobileBroadbandRadioState(pub i32);
357impl MobileBroadbandRadioState {
358 pub const Off: Self = Self(0i32);
359 pub const On: Self = Self(1i32);
360}
361impl ::core::marker::Copy for MobileBroadbandRadioState {}
362impl ::core::clone::Clone for MobileBroadbandRadioState {
363 fn clone(&self) -> Self {
364 *self
365 }
366}
367pub type MobileBroadbandRadioStateChange = *mut ::core::ffi::c_void;
368pub type MobileBroadbandRadioStateChangeTriggerDetails = *mut ::core::ffi::c_void;
369pub type MobileBroadbandSarManager = *mut ::core::ffi::c_void;
370pub type MobileBroadbandSlotInfo = *mut ::core::ffi::c_void;
371pub type MobileBroadbandSlotInfoChangedEventArgs = *mut ::core::ffi::c_void;
372pub type MobileBroadbandSlotManager = *mut ::core::ffi::c_void;
04454e1e 373#[doc = "*Required features: `\"Networking_NetworkOperators\"`*"]
5e7ed085
FG
374#[repr(transparent)]
375pub struct MobileBroadbandSlotState(pub i32);
376impl MobileBroadbandSlotState {
377 pub const Unmanaged: Self = Self(0i32);
378 pub const Unknown: Self = Self(1i32);
379 pub const OffEmpty: Self = Self(2i32);
380 pub const Off: Self = Self(3i32);
381 pub const Empty: Self = Self(4i32);
382 pub const NotReady: Self = Self(5i32);
383 pub const Active: Self = Self(6i32);
384 pub const Error: Self = Self(7i32);
385 pub const ActiveEsim: Self = Self(8i32);
386 pub const ActiveEsimNoProfile: Self = Self(9i32);
387}
388impl ::core::marker::Copy for MobileBroadbandSlotState {}
389impl ::core::clone::Clone for MobileBroadbandSlotState {
390 fn clone(&self) -> Self {
391 *self
392 }
393}
394pub type MobileBroadbandTransmissionStateChangedEventArgs = *mut ::core::ffi::c_void;
395pub type MobileBroadbandUicc = *mut ::core::ffi::c_void;
396pub type MobileBroadbandUiccApp = *mut ::core::ffi::c_void;
04454e1e 397#[doc = "*Required features: `\"Networking_NetworkOperators\"`*"]
5e7ed085
FG
398#[repr(transparent)]
399pub struct MobileBroadbandUiccAppOperationStatus(pub i32);
400impl MobileBroadbandUiccAppOperationStatus {
401 pub const Success: Self = Self(0i32);
402 pub const InvalidUiccFilePath: Self = Self(1i32);
403 pub const AccessConditionNotHeld: Self = Self(2i32);
404 pub const UiccBusy: Self = Self(3i32);
405}
406impl ::core::marker::Copy for MobileBroadbandUiccAppOperationStatus {}
407impl ::core::clone::Clone for MobileBroadbandUiccAppOperationStatus {
408 fn clone(&self) -> Self {
409 *self
410 }
411}
412pub type MobileBroadbandUiccAppReadRecordResult = *mut ::core::ffi::c_void;
413pub type MobileBroadbandUiccAppRecordDetailsResult = *mut ::core::ffi::c_void;
414pub type MobileBroadbandUiccAppsResult = *mut ::core::ffi::c_void;
04454e1e 415#[doc = "*Required features: `\"Networking_NetworkOperators\"`*"]
5e7ed085
FG
416#[repr(transparent)]
417pub struct NetworkDeviceStatus(pub i32);
418impl NetworkDeviceStatus {
419 pub const DeviceNotReady: Self = Self(0i32);
420 pub const DeviceReady: Self = Self(1i32);
421 pub const SimNotInserted: Self = Self(2i32);
422 pub const BadSim: Self = Self(3i32);
423 pub const DeviceHardwareFailure: Self = Self(4i32);
424 pub const AccountNotActivated: Self = Self(5i32);
425 pub const DeviceLocked: Self = Self(6i32);
426 pub const DeviceBlocked: Self = Self(7i32);
427}
428impl ::core::marker::Copy for NetworkDeviceStatus {}
429impl ::core::clone::Clone for NetworkDeviceStatus {
430 fn clone(&self) -> Self {
431 *self
432 }
433}
04454e1e 434#[doc = "*Required features: `\"Networking_NetworkOperators\"`*"]
5e7ed085
FG
435#[repr(transparent)]
436pub struct NetworkOperatorDataUsageNotificationKind(pub i32);
437impl NetworkOperatorDataUsageNotificationKind {
438 pub const DataUsageProgress: Self = Self(0i32);
439}
440impl ::core::marker::Copy for NetworkOperatorDataUsageNotificationKind {}
441impl ::core::clone::Clone for NetworkOperatorDataUsageNotificationKind {
442 fn clone(&self) -> Self {
443 *self
444 }
445}
446pub type NetworkOperatorDataUsageTriggerDetails = *mut ::core::ffi::c_void;
04454e1e 447#[doc = "*Required features: `\"Networking_NetworkOperators\"`*"]
5e7ed085
FG
448#[repr(transparent)]
449pub struct NetworkOperatorEventMessageType(pub i32);
450impl NetworkOperatorEventMessageType {
451 pub const Gsm: Self = Self(0i32);
452 pub const Cdma: Self = Self(1i32);
453 pub const Ussd: Self = Self(2i32);
454 pub const DataPlanThresholdReached: Self = Self(3i32);
455 pub const DataPlanReset: Self = Self(4i32);
456 pub const DataPlanDeleted: Self = Self(5i32);
457 pub const ProfileConnected: Self = Self(6i32);
458 pub const ProfileDisconnected: Self = Self(7i32);
459 pub const RegisteredRoaming: Self = Self(8i32);
460 pub const RegisteredHome: Self = Self(9i32);
461 pub const TetheringEntitlementCheck: Self = Self(10i32);
462 pub const TetheringOperationalStateChanged: Self = Self(11i32);
463 pub const TetheringNumberOfClientsChanged: Self = Self(12i32);
464}
465impl ::core::marker::Copy for NetworkOperatorEventMessageType {}
466impl ::core::clone::Clone for NetworkOperatorEventMessageType {
467 fn clone(&self) -> Self {
468 *self
469 }
470}
471pub type NetworkOperatorNotificationEventDetails = *mut ::core::ffi::c_void;
472pub type NetworkOperatorTetheringAccessPointConfiguration = *mut ::core::ffi::c_void;
473pub type NetworkOperatorTetheringClient = *mut ::core::ffi::c_void;
474pub type NetworkOperatorTetheringManager = *mut ::core::ffi::c_void;
475pub type NetworkOperatorTetheringOperationResult = *mut ::core::ffi::c_void;
04454e1e 476#[doc = "*Required features: `\"Networking_NetworkOperators\"`*"]
5e7ed085
FG
477#[repr(transparent)]
478pub struct NetworkRegistrationState(pub i32);
479impl NetworkRegistrationState {
480 pub const None: Self = Self(0i32);
481 pub const Deregistered: Self = Self(1i32);
482 pub const Searching: Self = Self(2i32);
483 pub const Home: Self = Self(3i32);
484 pub const Roaming: Self = Self(4i32);
485 pub const Partner: Self = Self(5i32);
486 pub const Denied: Self = Self(6i32);
487}
488impl ::core::marker::Copy for NetworkRegistrationState {}
489impl ::core::clone::Clone for NetworkRegistrationState {
490 fn clone(&self) -> Self {
491 *self
492 }
493}
04454e1e 494#[doc = "*Required features: `\"Networking_NetworkOperators\"`*"]
5e7ed085
FG
495#[repr(transparent)]
496pub struct ProfileMediaType(pub i32);
497impl ProfileMediaType {
498 pub const Wlan: Self = Self(0i32);
499 pub const Wwan: Self = Self(1i32);
500}
501impl ::core::marker::Copy for ProfileMediaType {}
502impl ::core::clone::Clone for ProfileMediaType {
503 fn clone(&self) -> Self {
504 *self
505 }
506}
507#[repr(C)]
04454e1e 508#[doc = "*Required features: `\"Networking_NetworkOperators\"`, `\"Foundation\"`*"]
5e7ed085
FG
509#[cfg(feature = "Foundation")]
510pub struct ProfileUsage {
511 pub UsageInMegabytes: u32,
512 pub LastSyncTime: super::super::Foundation::DateTime,
513}
514#[cfg(feature = "Foundation")]
515impl ::core::marker::Copy for ProfileUsage {}
516#[cfg(feature = "Foundation")]
517impl ::core::clone::Clone for ProfileUsage {
518 fn clone(&self) -> Self {
519 *self
520 }
521}
522pub type ProvisionFromXmlDocumentResults = *mut ::core::ffi::c_void;
523pub type ProvisionedProfile = *mut ::core::ffi::c_void;
524pub type ProvisioningAgent = *mut ::core::ffi::c_void;
04454e1e 525#[doc = "*Required features: `\"Networking_NetworkOperators\"`*"]
5e7ed085
FG
526#[repr(transparent)]
527pub struct TetheringCapability(pub i32);
528impl TetheringCapability {
529 pub const Enabled: Self = Self(0i32);
530 pub const DisabledByGroupPolicy: Self = Self(1i32);
531 pub const DisabledByHardwareLimitation: Self = Self(2i32);
532 pub const DisabledByOperator: Self = Self(3i32);
533 pub const DisabledBySku: Self = Self(4i32);
534 pub const DisabledByRequiredAppNotInstalled: Self = Self(5i32);
535 pub const DisabledDueToUnknownCause: Self = Self(6i32);
536 pub const DisabledBySystemCapability: Self = Self(7i32);
537}
538impl ::core::marker::Copy for TetheringCapability {}
539impl ::core::clone::Clone for TetheringCapability {
540 fn clone(&self) -> Self {
541 *self
542 }
543}
544pub type TetheringEntitlementCheckTriggerDetails = *mut ::core::ffi::c_void;
04454e1e 545#[doc = "*Required features: `\"Networking_NetworkOperators\"`*"]
5e7ed085
FG
546#[repr(transparent)]
547pub struct TetheringOperationStatus(pub i32);
548impl TetheringOperationStatus {
549 pub const Success: Self = Self(0i32);
550 pub const Unknown: Self = Self(1i32);
551 pub const MobileBroadbandDeviceOff: Self = Self(2i32);
552 pub const WiFiDeviceOff: Self = Self(3i32);
553 pub const EntitlementCheckTimeout: Self = Self(4i32);
554 pub const EntitlementCheckFailure: Self = Self(5i32);
555 pub const OperationInProgress: Self = Self(6i32);
556 pub const BluetoothDeviceOff: Self = Self(7i32);
557 pub const NetworkLimitedConnectivity: Self = Self(8i32);
558}
559impl ::core::marker::Copy for TetheringOperationStatus {}
560impl ::core::clone::Clone for TetheringOperationStatus {
561 fn clone(&self) -> Self {
562 *self
563 }
564}
04454e1e 565#[doc = "*Required features: `\"Networking_NetworkOperators\"`*"]
5e7ed085
FG
566#[repr(transparent)]
567pub struct TetheringOperationalState(pub i32);
568impl TetheringOperationalState {
569 pub const Unknown: Self = Self(0i32);
570 pub const On: Self = Self(1i32);
571 pub const Off: Self = Self(2i32);
572 pub const InTransition: Self = Self(3i32);
573}
574impl ::core::marker::Copy for TetheringOperationalState {}
575impl ::core::clone::Clone for TetheringOperationalState {
576 fn clone(&self) -> Self {
577 *self
578 }
579}
04454e1e 580#[doc = "*Required features: `\"Networking_NetworkOperators\"`*"]
5e7ed085
FG
581#[repr(transparent)]
582pub struct TetheringWiFiBand(pub i32);
583impl TetheringWiFiBand {
584 pub const Auto: Self = Self(0i32);
585 pub const TwoPointFourGigahertz: Self = Self(1i32);
586 pub const FiveGigahertz: Self = Self(2i32);
587}
588impl ::core::marker::Copy for TetheringWiFiBand {}
589impl ::core::clone::Clone for TetheringWiFiBand {
590 fn clone(&self) -> Self {
591 *self
592 }
593}
04454e1e 594#[doc = "*Required features: `\"Networking_NetworkOperators\"`*"]
5e7ed085
FG
595#[repr(transparent)]
596pub struct UiccAccessCondition(pub i32);
597impl UiccAccessCondition {
598 pub const AlwaysAllowed: Self = Self(0i32);
599 pub const Pin1: Self = Self(1i32);
600 pub const Pin2: Self = Self(2i32);
601 pub const Pin3: Self = Self(3i32);
602 pub const Pin4: Self = Self(4i32);
603 pub const Administrative5: Self = Self(5i32);
604 pub const Administrative6: Self = Self(6i32);
605 pub const NeverAllowed: Self = Self(7i32);
606}
607impl ::core::marker::Copy for UiccAccessCondition {}
608impl ::core::clone::Clone for UiccAccessCondition {
609 fn clone(&self) -> Self {
610 *self
611 }
612}
04454e1e 613#[doc = "*Required features: `\"Networking_NetworkOperators\"`*"]
5e7ed085
FG
614#[repr(transparent)]
615pub struct UiccAppKind(pub i32);
616impl UiccAppKind {
617 pub const Unknown: Self = Self(0i32);
618 pub const MF: Self = Self(1i32);
619 pub const MFSim: Self = Self(2i32);
620 pub const MFRuim: Self = Self(3i32);
621 pub const USim: Self = Self(4i32);
622 pub const CSim: Self = Self(5i32);
623 pub const ISim: Self = Self(6i32);
624}
625impl ::core::marker::Copy for UiccAppKind {}
626impl ::core::clone::Clone for UiccAppKind {
627 fn clone(&self) -> Self {
628 *self
629 }
630}
04454e1e 631#[doc = "*Required features: `\"Networking_NetworkOperators\"`*"]
5e7ed085
FG
632#[repr(transparent)]
633pub struct UiccAppRecordKind(pub i32);
634impl UiccAppRecordKind {
635 pub const Unknown: Self = Self(0i32);
636 pub const Transparent: Self = Self(1i32);
637 pub const RecordOriented: Self = Self(2i32);
638}
639impl ::core::marker::Copy for UiccAppRecordKind {}
640impl ::core::clone::Clone for UiccAppRecordKind {
641 fn clone(&self) -> Self {
642 *self
643 }
644}
645pub type UssdMessage = *mut ::core::ffi::c_void;
646pub type UssdReply = *mut ::core::ffi::c_void;
04454e1e 647#[doc = "*Required features: `\"Networking_NetworkOperators\"`*"]
5e7ed085
FG
648#[repr(transparent)]
649pub struct UssdResultCode(pub i32);
650impl UssdResultCode {
651 pub const NoActionRequired: Self = Self(0i32);
652 pub const ActionRequired: Self = Self(1i32);
653 pub const Terminated: Self = Self(2i32);
654 pub const OtherLocalClient: Self = Self(3i32);
655 pub const OperationNotSupported: Self = Self(4i32);
656 pub const NetworkTimeout: Self = Self(5i32);
657}
658impl ::core::marker::Copy for UssdResultCode {}
659impl ::core::clone::Clone for UssdResultCode {
660 fn clone(&self) -> Self {
661 *self
662 }
663}
664pub type UssdSession = *mut ::core::ffi::c_void;