diff options
Diffstat (limited to 'vendor/windows-sys-0.28.0/src/Windows/Networking/NetworkOperators')
-rw-r--r-- | vendor/windows-sys-0.28.0/src/Windows/Networking/NetworkOperators/mod.rs | 633 |
1 files changed, 0 insertions, 633 deletions
diff --git a/vendor/windows-sys-0.28.0/src/Windows/Networking/NetworkOperators/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Networking/NetworkOperators/mod.rs deleted file mode 100644 index e10ac9ca6..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Networking/NetworkOperators/mod.rs +++ /dev/null @@ -1,633 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[link(name = "windows")] -extern "system" {} -#[repr(transparent)] -pub struct DataClasses(pub u32); -impl DataClasses { - pub const None: Self = Self(0u32); - pub const Gprs: Self = Self(1u32); - pub const Edge: Self = Self(2u32); - pub const Umts: Self = Self(4u32); - pub const Hsdpa: Self = Self(8u32); - pub const Hsupa: Self = Self(16u32); - pub const LteAdvanced: Self = Self(32u32); - pub const NewRadioNonStandalone: Self = Self(64u32); - pub const NewRadioStandalone: Self = Self(128u32); - pub const Cdma1xRtt: Self = Self(65536u32); - pub const Cdma1xEvdo: Self = Self(131072u32); - pub const Cdma1xEvdoRevA: Self = Self(262144u32); - pub const Cdma1xEvdv: Self = Self(524288u32); - pub const Cdma3xRtt: Self = Self(1048576u32); - pub const Cdma1xEvdoRevB: Self = Self(2097152u32); - pub const CdmaUmb: Self = Self(4194304u32); - pub const Custom: Self = Self(2147483648u32); -} -impl ::core::marker::Copy for DataClasses {} -impl ::core::clone::Clone for DataClasses { - fn clone(&self) -> Self { - *self - } -} -pub type ESim = *mut ::core::ffi::c_void; -pub type ESimAddedEventArgs = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct ESimAuthenticationPreference(pub i32); -impl ESimAuthenticationPreference { - pub const OnEntry: Self = Self(0i32); - pub const OnAction: Self = Self(1i32); - pub const Never: Self = Self(2i32); -} -impl ::core::marker::Copy for ESimAuthenticationPreference {} -impl ::core::clone::Clone for ESimAuthenticationPreference { - fn clone(&self) -> Self { - *self - } -} -pub type ESimDiscoverEvent = *mut ::core::ffi::c_void; -pub type ESimDiscoverResult = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct ESimDiscoverResultKind(pub i32); -impl ESimDiscoverResultKind { - pub const None: Self = Self(0i32); - pub const Events: Self = Self(1i32); - pub const ProfileMetadata: Self = Self(2i32); -} -impl ::core::marker::Copy for ESimDiscoverResultKind {} -impl ::core::clone::Clone for ESimDiscoverResultKind { - fn clone(&self) -> Self { - *self - } -} -pub type ESimDownloadProfileMetadataResult = *mut ::core::ffi::c_void; -pub type ESimOperationResult = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct ESimOperationStatus(pub i32); -impl ESimOperationStatus { - pub const Success: Self = Self(0i32); - pub const NotAuthorized: Self = Self(1i32); - pub const NotFound: Self = Self(2i32); - pub const PolicyViolation: Self = Self(3i32); - pub const InsufficientSpaceOnCard: Self = Self(4i32); - pub const ServerFailure: Self = Self(5i32); - pub const ServerNotReachable: Self = Self(6i32); - pub const TimeoutWaitingForUserConsent: Self = Self(7i32); - pub const IncorrectConfirmationCode: Self = Self(8i32); - pub const ConfirmationCodeMaxRetriesExceeded: Self = Self(9i32); - pub const CardRemoved: Self = Self(10i32); - pub const CardBusy: Self = Self(11i32); - pub const Other: Self = Self(12i32); - pub const CardGeneralFailure: Self = Self(13i32); - pub const ConfirmationCodeMissing: Self = Self(14i32); - pub const InvalidMatchingId: Self = Self(15i32); - pub const NoEligibleProfileForThisDevice: Self = Self(16i32); - pub const OperationAborted: Self = Self(17i32); - pub const EidMismatch: Self = Self(18i32); - pub const ProfileNotAvailableForNewBinding: Self = Self(19i32); - pub const ProfileNotReleasedByOperator: Self = Self(20i32); - pub const OperationProhibitedByProfileClass: Self = Self(21i32); - pub const ProfileNotPresent: Self = Self(22i32); - pub const NoCorrespondingRequest: Self = Self(23i32); - pub const TimeoutWaitingForResponse: Self = Self(24i32); - pub const IccidAlreadyExists: Self = Self(25i32); - pub const ProfileProcessingError: Self = Self(26i32); - pub const ServerNotTrusted: Self = Self(27i32); - pub const ProfileDownloadMaxRetriesExceeded: Self = Self(28i32); -} -impl ::core::marker::Copy for ESimOperationStatus {} -impl ::core::clone::Clone for ESimOperationStatus { - fn clone(&self) -> Self { - *self - } -} -pub type ESimPolicy = *mut ::core::ffi::c_void; -pub type ESimProfile = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct ESimProfileClass(pub i32); -impl ESimProfileClass { - pub const Operational: Self = Self(0i32); - pub const Test: Self = Self(1i32); - pub const Provisioning: Self = Self(2i32); -} -impl ::core::marker::Copy for ESimProfileClass {} -impl ::core::clone::Clone for ESimProfileClass { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -pub struct ESimProfileInstallProgress { - pub TotalSizeInBytes: i32, - pub InstalledSizeInBytes: i32, -} -impl ::core::marker::Copy for ESimProfileInstallProgress {} -impl ::core::clone::Clone for ESimProfileInstallProgress { - fn clone(&self) -> Self { - *self - } -} -pub type ESimProfileMetadata = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct ESimProfileMetadataState(pub i32); -impl ESimProfileMetadataState { - pub const Unknown: Self = Self(0i32); - pub const WaitingForInstall: Self = Self(1i32); - pub const Downloading: Self = Self(2i32); - pub const Installing: Self = Self(3i32); - pub const Expired: Self = Self(4i32); - pub const RejectingDownload: Self = Self(5i32); - pub const NoLongerAvailable: Self = Self(6i32); - pub const DeniedByPolicy: Self = Self(7i32); -} -impl ::core::marker::Copy for ESimProfileMetadataState {} -impl ::core::clone::Clone for ESimProfileMetadataState { - fn clone(&self) -> Self { - *self - } -} -pub type ESimProfilePolicy = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct ESimProfileState(pub i32); -impl ESimProfileState { - pub const Unknown: Self = Self(0i32); - pub const Disabled: Self = Self(1i32); - pub const Enabled: Self = Self(2i32); - pub const Deleted: Self = Self(3i32); -} -impl ::core::marker::Copy for ESimProfileState {} -impl ::core::clone::Clone for ESimProfileState { - fn clone(&self) -> Self { - *self - } -} -pub type ESimRemovedEventArgs = *mut ::core::ffi::c_void; -pub type ESimServiceInfo = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct ESimState(pub i32); -impl ESimState { - pub const Unknown: Self = Self(0i32); - pub const Idle: Self = Self(1i32); - pub const Removed: Self = Self(2i32); - pub const Busy: Self = Self(3i32); -} -impl ::core::marker::Copy for ESimState {} -impl ::core::clone::Clone for ESimState { - fn clone(&self) -> Self { - *self - } -} -pub type ESimUpdatedEventArgs = *mut ::core::ffi::c_void; -pub type ESimWatcher = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct ESimWatcherStatus(pub i32); -impl ESimWatcherStatus { - pub const Created: Self = Self(0i32); - pub const Started: Self = Self(1i32); - pub const EnumerationCompleted: Self = Self(2i32); - pub const Stopping: Self = Self(3i32); - pub const Stopped: Self = Self(4i32); -} -impl ::core::marker::Copy for ESimWatcherStatus {} -impl ::core::clone::Clone for ESimWatcherStatus { - fn clone(&self) -> Self { - *self - } -} -pub type HotspotAuthenticationContext = *mut ::core::ffi::c_void; -pub type HotspotAuthenticationEventDetails = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct HotspotAuthenticationResponseCode(pub i32); -impl HotspotAuthenticationResponseCode { - pub const NoError: Self = Self(0i32); - pub const LoginSucceeded: Self = Self(50i32); - pub const LoginFailed: Self = Self(100i32); - pub const RadiusServerError: Self = Self(102i32); - pub const NetworkAdministratorError: Self = Self(105i32); - pub const LoginAborted: Self = Self(151i32); - pub const AccessGatewayInternalError: Self = Self(255i32); -} -impl ::core::marker::Copy for HotspotAuthenticationResponseCode {} -impl ::core::clone::Clone for HotspotAuthenticationResponseCode { - fn clone(&self) -> Self { - *self - } -} -pub type HotspotCredentialsAuthenticationResult = *mut ::core::ffi::c_void; -pub type MobileBroadbandAccount = *mut ::core::ffi::c_void; -pub type MobileBroadbandAccountEventArgs = *mut ::core::ffi::c_void; -pub type MobileBroadbandAccountUpdatedEventArgs = *mut ::core::ffi::c_void; -pub type MobileBroadbandAccountWatcher = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct MobileBroadbandAccountWatcherStatus(pub i32); -impl MobileBroadbandAccountWatcherStatus { - pub const Created: Self = Self(0i32); - pub const Started: Self = Self(1i32); - pub const EnumerationCompleted: Self = Self(2i32); - pub const Stopped: Self = Self(3i32); - pub const Aborted: Self = Self(4i32); -} -impl ::core::marker::Copy for MobileBroadbandAccountWatcherStatus {} -impl ::core::clone::Clone for MobileBroadbandAccountWatcherStatus { - fn clone(&self) -> Self { - *self - } -} -pub type MobileBroadbandAntennaSar = *mut ::core::ffi::c_void; -pub type MobileBroadbandCellCdma = *mut ::core::ffi::c_void; -pub type MobileBroadbandCellGsm = *mut ::core::ffi::c_void; -pub type MobileBroadbandCellLte = *mut ::core::ffi::c_void; -pub type MobileBroadbandCellNR = *mut ::core::ffi::c_void; -pub type MobileBroadbandCellTdscdma = *mut ::core::ffi::c_void; -pub type MobileBroadbandCellUmts = *mut ::core::ffi::c_void; -pub type MobileBroadbandCellsInfo = *mut ::core::ffi::c_void; -pub type MobileBroadbandCurrentSlotIndexChangedEventArgs = *mut ::core::ffi::c_void; -pub type MobileBroadbandDeviceInformation = *mut ::core::ffi::c_void; -pub type MobileBroadbandDeviceService = *mut ::core::ffi::c_void; -pub type MobileBroadbandDeviceServiceCommandResult = *mut ::core::ffi::c_void; -pub type MobileBroadbandDeviceServiceCommandSession = *mut ::core::ffi::c_void; -pub type MobileBroadbandDeviceServiceDataReceivedEventArgs = *mut ::core::ffi::c_void; -pub type MobileBroadbandDeviceServiceDataSession = *mut ::core::ffi::c_void; -pub type MobileBroadbandDeviceServiceInformation = *mut ::core::ffi::c_void; -pub type MobileBroadbandDeviceServiceTriggerDetails = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct MobileBroadbandDeviceType(pub i32); -impl MobileBroadbandDeviceType { - pub const Unknown: Self = Self(0i32); - pub const Embedded: Self = Self(1i32); - pub const Removable: Self = Self(2i32); - pub const Remote: Self = Self(3i32); -} -impl ::core::marker::Copy for MobileBroadbandDeviceType {} -impl ::core::clone::Clone for MobileBroadbandDeviceType { - fn clone(&self) -> Self { - *self - } -} -pub type MobileBroadbandModem = *mut ::core::ffi::c_void; -pub type MobileBroadbandModemConfiguration = *mut ::core::ffi::c_void; -pub type MobileBroadbandModemIsolation = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct MobileBroadbandModemStatus(pub i32); -impl MobileBroadbandModemStatus { - pub const Success: Self = Self(0i32); - pub const OtherFailure: Self = Self(1i32); - pub const Busy: Self = Self(2i32); - pub const NoDeviceSupport: Self = Self(3i32); -} -impl ::core::marker::Copy for MobileBroadbandModemStatus {} -impl ::core::clone::Clone for MobileBroadbandModemStatus { - fn clone(&self) -> Self { - *self - } -} -pub type MobileBroadbandNetwork = *mut ::core::ffi::c_void; -pub type MobileBroadbandNetworkRegistrationStateChange = *mut ::core::ffi::c_void; -pub type MobileBroadbandNetworkRegistrationStateChangeTriggerDetails = *mut ::core::ffi::c_void; -pub type MobileBroadbandPco = *mut ::core::ffi::c_void; -pub type MobileBroadbandPcoDataChangeTriggerDetails = *mut ::core::ffi::c_void; -pub type MobileBroadbandPin = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct MobileBroadbandPinFormat(pub i32); -impl MobileBroadbandPinFormat { - pub const Unknown: Self = Self(0i32); - pub const Numeric: Self = Self(1i32); - pub const Alphanumeric: Self = Self(2i32); -} -impl ::core::marker::Copy for MobileBroadbandPinFormat {} -impl ::core::clone::Clone for MobileBroadbandPinFormat { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct MobileBroadbandPinLockState(pub i32); -impl MobileBroadbandPinLockState { - pub const Unknown: Self = Self(0i32); - pub const Unlocked: Self = Self(1i32); - pub const PinRequired: Self = Self(2i32); - pub const PinUnblockKeyRequired: Self = Self(3i32); -} -impl ::core::marker::Copy for MobileBroadbandPinLockState {} -impl ::core::clone::Clone for MobileBroadbandPinLockState { - fn clone(&self) -> Self { - *self - } -} -pub type MobileBroadbandPinLockStateChange = *mut ::core::ffi::c_void; -pub type MobileBroadbandPinLockStateChangeTriggerDetails = *mut ::core::ffi::c_void; -pub type MobileBroadbandPinManager = *mut ::core::ffi::c_void; -pub type MobileBroadbandPinOperationResult = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct MobileBroadbandPinType(pub i32); -impl MobileBroadbandPinType { - pub const None: Self = Self(0i32); - pub const Custom: Self = Self(1i32); - pub const Pin1: Self = Self(2i32); - pub const Pin2: Self = Self(3i32); - pub const SimPin: Self = Self(4i32); - pub const FirstSimPin: Self = Self(5i32); - pub const NetworkPin: Self = Self(6i32); - pub const NetworkSubsetPin: Self = Self(7i32); - pub const ServiceProviderPin: Self = Self(8i32); - pub const CorporatePin: Self = Self(9i32); - pub const SubsidyLock: Self = Self(10i32); -} -impl ::core::marker::Copy for MobileBroadbandPinType {} -impl ::core::clone::Clone for MobileBroadbandPinType { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct MobileBroadbandRadioState(pub i32); -impl MobileBroadbandRadioState { - pub const Off: Self = Self(0i32); - pub const On: Self = Self(1i32); -} -impl ::core::marker::Copy for MobileBroadbandRadioState {} -impl ::core::clone::Clone for MobileBroadbandRadioState { - fn clone(&self) -> Self { - *self - } -} -pub type MobileBroadbandRadioStateChange = *mut ::core::ffi::c_void; -pub type MobileBroadbandRadioStateChangeTriggerDetails = *mut ::core::ffi::c_void; -pub type MobileBroadbandSarManager = *mut ::core::ffi::c_void; -pub type MobileBroadbandSlotInfo = *mut ::core::ffi::c_void; -pub type MobileBroadbandSlotInfoChangedEventArgs = *mut ::core::ffi::c_void; -pub type MobileBroadbandSlotManager = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct MobileBroadbandSlotState(pub i32); -impl MobileBroadbandSlotState { - pub const Unmanaged: Self = Self(0i32); - pub const Unknown: Self = Self(1i32); - pub const OffEmpty: Self = Self(2i32); - pub const Off: Self = Self(3i32); - pub const Empty: Self = Self(4i32); - pub const NotReady: Self = Self(5i32); - pub const Active: Self = Self(6i32); - pub const Error: Self = Self(7i32); - pub const ActiveEsim: Self = Self(8i32); - pub const ActiveEsimNoProfile: Self = Self(9i32); -} -impl ::core::marker::Copy for MobileBroadbandSlotState {} -impl ::core::clone::Clone for MobileBroadbandSlotState { - fn clone(&self) -> Self { - *self - } -} -pub type MobileBroadbandTransmissionStateChangedEventArgs = *mut ::core::ffi::c_void; -pub type MobileBroadbandUicc = *mut ::core::ffi::c_void; -pub type MobileBroadbandUiccApp = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct MobileBroadbandUiccAppOperationStatus(pub i32); -impl MobileBroadbandUiccAppOperationStatus { - pub const Success: Self = Self(0i32); - pub const InvalidUiccFilePath: Self = Self(1i32); - pub const AccessConditionNotHeld: Self = Self(2i32); - pub const UiccBusy: Self = Self(3i32); -} -impl ::core::marker::Copy for MobileBroadbandUiccAppOperationStatus {} -impl ::core::clone::Clone for MobileBroadbandUiccAppOperationStatus { - fn clone(&self) -> Self { - *self - } -} -pub type MobileBroadbandUiccAppReadRecordResult = *mut ::core::ffi::c_void; -pub type MobileBroadbandUiccAppRecordDetailsResult = *mut ::core::ffi::c_void; -pub type MobileBroadbandUiccAppsResult = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct NetworkDeviceStatus(pub i32); -impl NetworkDeviceStatus { - pub const DeviceNotReady: Self = Self(0i32); - pub const DeviceReady: Self = Self(1i32); - pub const SimNotInserted: Self = Self(2i32); - pub const BadSim: Self = Self(3i32); - pub const DeviceHardwareFailure: Self = Self(4i32); - pub const AccountNotActivated: Self = Self(5i32); - pub const DeviceLocked: Self = Self(6i32); - pub const DeviceBlocked: Self = Self(7i32); -} -impl ::core::marker::Copy for NetworkDeviceStatus {} -impl ::core::clone::Clone for NetworkDeviceStatus { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct NetworkOperatorDataUsageNotificationKind(pub i32); -impl NetworkOperatorDataUsageNotificationKind { - pub const DataUsageProgress: Self = Self(0i32); -} -impl ::core::marker::Copy for NetworkOperatorDataUsageNotificationKind {} -impl ::core::clone::Clone for NetworkOperatorDataUsageNotificationKind { - fn clone(&self) -> Self { - *self - } -} -pub type NetworkOperatorDataUsageTriggerDetails = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct NetworkOperatorEventMessageType(pub i32); -impl NetworkOperatorEventMessageType { - pub const Gsm: Self = Self(0i32); - pub const Cdma: Self = Self(1i32); - pub const Ussd: Self = Self(2i32); - pub const DataPlanThresholdReached: Self = Self(3i32); - pub const DataPlanReset: Self = Self(4i32); - pub const DataPlanDeleted: Self = Self(5i32); - pub const ProfileConnected: Self = Self(6i32); - pub const ProfileDisconnected: Self = Self(7i32); - pub const RegisteredRoaming: Self = Self(8i32); - pub const RegisteredHome: Self = Self(9i32); - pub const TetheringEntitlementCheck: Self = Self(10i32); - pub const TetheringOperationalStateChanged: Self = Self(11i32); - pub const TetheringNumberOfClientsChanged: Self = Self(12i32); -} -impl ::core::marker::Copy for NetworkOperatorEventMessageType {} -impl ::core::clone::Clone for NetworkOperatorEventMessageType { - fn clone(&self) -> Self { - *self - } -} -pub type NetworkOperatorNotificationEventDetails = *mut ::core::ffi::c_void; -pub type NetworkOperatorTetheringAccessPointConfiguration = *mut ::core::ffi::c_void; -pub type NetworkOperatorTetheringClient = *mut ::core::ffi::c_void; -pub type NetworkOperatorTetheringManager = *mut ::core::ffi::c_void; -pub type NetworkOperatorTetheringOperationResult = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct NetworkRegistrationState(pub i32); -impl NetworkRegistrationState { - pub const None: Self = Self(0i32); - pub const Deregistered: Self = Self(1i32); - pub const Searching: Self = Self(2i32); - pub const Home: Self = Self(3i32); - pub const Roaming: Self = Self(4i32); - pub const Partner: Self = Self(5i32); - pub const Denied: Self = Self(6i32); -} -impl ::core::marker::Copy for NetworkRegistrationState {} -impl ::core::clone::Clone for NetworkRegistrationState { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct ProfileMediaType(pub i32); -impl ProfileMediaType { - pub const Wlan: Self = Self(0i32); - pub const Wwan: Self = Self(1i32); -} -impl ::core::marker::Copy for ProfileMediaType {} -impl ::core::clone::Clone for ProfileMediaType { - fn clone(&self) -> Self { - *self - } -} -#[repr(C)] -#[cfg(feature = "Foundation")] -pub struct ProfileUsage { - pub UsageInMegabytes: u32, - pub LastSyncTime: super::super::Foundation::DateTime, -} -#[cfg(feature = "Foundation")] -impl ::core::marker::Copy for ProfileUsage {} -#[cfg(feature = "Foundation")] -impl ::core::clone::Clone for ProfileUsage { - fn clone(&self) -> Self { - *self - } -} -pub type ProvisionFromXmlDocumentResults = *mut ::core::ffi::c_void; -pub type ProvisionedProfile = *mut ::core::ffi::c_void; -pub type ProvisioningAgent = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct TetheringCapability(pub i32); -impl TetheringCapability { - pub const Enabled: Self = Self(0i32); - pub const DisabledByGroupPolicy: Self = Self(1i32); - pub const DisabledByHardwareLimitation: Self = Self(2i32); - pub const DisabledByOperator: Self = Self(3i32); - pub const DisabledBySku: Self = Self(4i32); - pub const DisabledByRequiredAppNotInstalled: Self = Self(5i32); - pub const DisabledDueToUnknownCause: Self = Self(6i32); - pub const DisabledBySystemCapability: Self = Self(7i32); -} -impl ::core::marker::Copy for TetheringCapability {} -impl ::core::clone::Clone for TetheringCapability { - fn clone(&self) -> Self { - *self - } -} -pub type TetheringEntitlementCheckTriggerDetails = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct TetheringOperationStatus(pub i32); -impl TetheringOperationStatus { - pub const Success: Self = Self(0i32); - pub const Unknown: Self = Self(1i32); - pub const MobileBroadbandDeviceOff: Self = Self(2i32); - pub const WiFiDeviceOff: Self = Self(3i32); - pub const EntitlementCheckTimeout: Self = Self(4i32); - pub const EntitlementCheckFailure: Self = Self(5i32); - pub const OperationInProgress: Self = Self(6i32); - pub const BluetoothDeviceOff: Self = Self(7i32); - pub const NetworkLimitedConnectivity: Self = Self(8i32); -} -impl ::core::marker::Copy for TetheringOperationStatus {} -impl ::core::clone::Clone for TetheringOperationStatus { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct TetheringOperationalState(pub i32); -impl TetheringOperationalState { - pub const Unknown: Self = Self(0i32); - pub const On: Self = Self(1i32); - pub const Off: Self = Self(2i32); - pub const InTransition: Self = Self(3i32); -} -impl ::core::marker::Copy for TetheringOperationalState {} -impl ::core::clone::Clone for TetheringOperationalState { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct TetheringWiFiBand(pub i32); -impl TetheringWiFiBand { - pub const Auto: Self = Self(0i32); - pub const TwoPointFourGigahertz: Self = Self(1i32); - pub const FiveGigahertz: Self = Self(2i32); -} -impl ::core::marker::Copy for TetheringWiFiBand {} -impl ::core::clone::Clone for TetheringWiFiBand { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct UiccAccessCondition(pub i32); -impl UiccAccessCondition { - pub const AlwaysAllowed: Self = Self(0i32); - pub const Pin1: Self = Self(1i32); - pub const Pin2: Self = Self(2i32); - pub const Pin3: Self = Self(3i32); - pub const Pin4: Self = Self(4i32); - pub const Administrative5: Self = Self(5i32); - pub const Administrative6: Self = Self(6i32); - pub const NeverAllowed: Self = Self(7i32); -} -impl ::core::marker::Copy for UiccAccessCondition {} -impl ::core::clone::Clone for UiccAccessCondition { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct UiccAppKind(pub i32); -impl UiccAppKind { - pub const Unknown: Self = Self(0i32); - pub const MF: Self = Self(1i32); - pub const MFSim: Self = Self(2i32); - pub const MFRuim: Self = Self(3i32); - pub const USim: Self = Self(4i32); - pub const CSim: Self = Self(5i32); - pub const ISim: Self = Self(6i32); -} -impl ::core::marker::Copy for UiccAppKind {} -impl ::core::clone::Clone for UiccAppKind { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct UiccAppRecordKind(pub i32); -impl UiccAppRecordKind { - pub const Unknown: Self = Self(0i32); - pub const Transparent: Self = Self(1i32); - pub const RecordOriented: Self = Self(2i32); -} -impl ::core::marker::Copy for UiccAppRecordKind {} -impl ::core::clone::Clone for UiccAppRecordKind { - fn clone(&self) -> Self { - *self - } -} -pub type UssdMessage = *mut ::core::ffi::c_void; -pub type UssdReply = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct UssdResultCode(pub i32); -impl UssdResultCode { - pub const NoActionRequired: Self = Self(0i32); - pub const ActionRequired: Self = Self(1i32); - pub const Terminated: Self = Self(2i32); - pub const OtherLocalClient: Self = Self(3i32); - pub const OperationNotSupported: Self = Self(4i32); - pub const NetworkTimeout: Self = Self(5i32); -} -impl ::core::marker::Copy for UssdResultCode {} -impl ::core::clone::Clone for UssdResultCode { - fn clone(&self) -> Self { - *self - } -} -pub type UssdSession = *mut ::core::ffi::c_void; |