diff options
Diffstat (limited to 'vendor/windows-sys-0.28.0/src/Windows/Devices/Bluetooth')
5 files changed, 0 insertions, 514 deletions
diff --git a/vendor/windows-sys-0.28.0/src/Windows/Devices/Bluetooth/Advertisement/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Devices/Bluetooth/Advertisement/mod.rs deleted file mode 100644 index a85eb629b..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Devices/Bluetooth/Advertisement/mod.rs +++ /dev/null @@ -1,89 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[link(name = "windows")] -extern "system" {} -pub type BluetoothLEAdvertisement = *mut ::core::ffi::c_void; -pub type BluetoothLEAdvertisementBytePattern = *mut ::core::ffi::c_void; -pub type BluetoothLEAdvertisementDataSection = *mut ::core::ffi::c_void; -pub type BluetoothLEAdvertisementFilter = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct BluetoothLEAdvertisementFlags(pub u32); -impl BluetoothLEAdvertisementFlags { - pub const None: Self = Self(0u32); - pub const LimitedDiscoverableMode: Self = Self(1u32); - pub const GeneralDiscoverableMode: Self = Self(2u32); - pub const ClassicNotSupported: Self = Self(4u32); - pub const DualModeControllerCapable: Self = Self(8u32); - pub const DualModeHostCapable: Self = Self(16u32); -} -impl ::core::marker::Copy for BluetoothLEAdvertisementFlags {} -impl ::core::clone::Clone for BluetoothLEAdvertisementFlags { - fn clone(&self) -> Self { - *self - } -} -pub type BluetoothLEAdvertisementPublisher = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct BluetoothLEAdvertisementPublisherStatus(pub i32); -impl BluetoothLEAdvertisementPublisherStatus { - pub const Created: Self = Self(0i32); - pub const Waiting: Self = Self(1i32); - pub const Started: Self = Self(2i32); - pub const Stopping: Self = Self(3i32); - pub const Stopped: Self = Self(4i32); - pub const Aborted: Self = Self(5i32); -} -impl ::core::marker::Copy for BluetoothLEAdvertisementPublisherStatus {} -impl ::core::clone::Clone for BluetoothLEAdvertisementPublisherStatus { - fn clone(&self) -> Self { - *self - } -} -pub type BluetoothLEAdvertisementPublisherStatusChangedEventArgs = *mut ::core::ffi::c_void; -pub type BluetoothLEAdvertisementReceivedEventArgs = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct BluetoothLEAdvertisementType(pub i32); -impl BluetoothLEAdvertisementType { - pub const ConnectableUndirected: Self = Self(0i32); - pub const ConnectableDirected: Self = Self(1i32); - pub const ScannableUndirected: Self = Self(2i32); - pub const NonConnectableUndirected: Self = Self(3i32); - pub const ScanResponse: Self = Self(4i32); - pub const Extended: Self = Self(5i32); -} -impl ::core::marker::Copy for BluetoothLEAdvertisementType {} -impl ::core::clone::Clone for BluetoothLEAdvertisementType { - fn clone(&self) -> Self { - *self - } -} -pub type BluetoothLEAdvertisementWatcher = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct BluetoothLEAdvertisementWatcherStatus(pub i32); -impl BluetoothLEAdvertisementWatcherStatus { - pub const Created: Self = Self(0i32); - pub const Started: Self = Self(1i32); - pub const Stopping: Self = Self(2i32); - pub const Stopped: Self = Self(3i32); - pub const Aborted: Self = Self(4i32); -} -impl ::core::marker::Copy for BluetoothLEAdvertisementWatcherStatus {} -impl ::core::clone::Clone for BluetoothLEAdvertisementWatcherStatus { - fn clone(&self) -> Self { - *self - } -} -pub type BluetoothLEAdvertisementWatcherStoppedEventArgs = *mut ::core::ffi::c_void; -pub type BluetoothLEManufacturerData = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct BluetoothLEScanningMode(pub i32); -impl BluetoothLEScanningMode { - pub const Passive: Self = Self(0i32); - pub const Active: Self = Self(1i32); - pub const None: Self = Self(2i32); -} -impl ::core::marker::Copy for BluetoothLEScanningMode {} -impl ::core::clone::Clone for BluetoothLEScanningMode { - fn clone(&self) -> Self { - *self - } -} diff --git a/vendor/windows-sys-0.28.0/src/Windows/Devices/Bluetooth/Background/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Devices/Bluetooth/Background/mod.rs deleted file mode 100644 index 4fd0bb12f..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Devices/Bluetooth/Background/mod.rs +++ /dev/null @@ -1,24 +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 BluetoothEventTriggeringMode(pub i32); -impl BluetoothEventTriggeringMode { - pub const Serial: Self = Self(0i32); - pub const Batch: Self = Self(1i32); - pub const KeepLatest: Self = Self(2i32); -} -impl ::core::marker::Copy for BluetoothEventTriggeringMode {} -impl ::core::clone::Clone for BluetoothEventTriggeringMode { - fn clone(&self) -> Self { - *self - } -} -pub type BluetoothLEAdvertisementPublisherTriggerDetails = *mut ::core::ffi::c_void; -pub type BluetoothLEAdvertisementWatcherTriggerDetails = *mut ::core::ffi::c_void; -pub type GattCharacteristicNotificationTriggerDetails = *mut ::core::ffi::c_void; -pub type GattServiceProviderConnection = *mut ::core::ffi::c_void; -pub type GattServiceProviderTriggerDetails = *mut ::core::ffi::c_void; -pub type RfcommConnectionTriggerDetails = *mut ::core::ffi::c_void; -pub type RfcommInboundConnectionInformation = *mut ::core::ffi::c_void; -pub type RfcommOutboundConnectionInformation = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys-0.28.0/src/Windows/Devices/Bluetooth/GenericAttributeProfile/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Devices/Bluetooth/GenericAttributeProfile/mod.rs deleted file mode 100644 index 0b0e11567..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Devices/Bluetooth/GenericAttributeProfile/mod.rs +++ /dev/null @@ -1,179 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[link(name = "windows")] -extern "system" {} -pub type GattCharacteristic = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct GattCharacteristicProperties(pub u32); -impl GattCharacteristicProperties { - pub const None: Self = Self(0u32); - pub const Broadcast: Self = Self(1u32); - pub const Read: Self = Self(2u32); - pub const WriteWithoutResponse: Self = Self(4u32); - pub const Write: Self = Self(8u32); - pub const Notify: Self = Self(16u32); - pub const Indicate: Self = Self(32u32); - pub const AuthenticatedSignedWrites: Self = Self(64u32); - pub const ExtendedProperties: Self = Self(128u32); - pub const ReliableWrites: Self = Self(256u32); - pub const WritableAuxiliaries: Self = Self(512u32); -} -impl ::core::marker::Copy for GattCharacteristicProperties {} -impl ::core::clone::Clone for GattCharacteristicProperties { - fn clone(&self) -> Self { - *self - } -} -pub type GattCharacteristicsResult = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct GattClientCharacteristicConfigurationDescriptorValue(pub i32); -impl GattClientCharacteristicConfigurationDescriptorValue { - pub const None: Self = Self(0i32); - pub const Notify: Self = Self(1i32); - pub const Indicate: Self = Self(2i32); -} -impl ::core::marker::Copy for GattClientCharacteristicConfigurationDescriptorValue {} -impl ::core::clone::Clone for GattClientCharacteristicConfigurationDescriptorValue { - fn clone(&self) -> Self { - *self - } -} -pub type GattClientNotificationResult = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct GattCommunicationStatus(pub i32); -impl GattCommunicationStatus { - pub const Success: Self = Self(0i32); - pub const Unreachable: Self = Self(1i32); - pub const ProtocolError: Self = Self(2i32); - pub const AccessDenied: Self = Self(3i32); -} -impl ::core::marker::Copy for GattCommunicationStatus {} -impl ::core::clone::Clone for GattCommunicationStatus { - fn clone(&self) -> Self { - *self - } -} -pub type GattDescriptor = *mut ::core::ffi::c_void; -pub type GattDescriptorsResult = *mut ::core::ffi::c_void; -pub type GattDeviceService = *mut ::core::ffi::c_void; -pub type GattDeviceServicesResult = *mut ::core::ffi::c_void; -pub type GattLocalCharacteristic = *mut ::core::ffi::c_void; -pub type GattLocalCharacteristicParameters = *mut ::core::ffi::c_void; -pub type GattLocalCharacteristicResult = *mut ::core::ffi::c_void; -pub type GattLocalDescriptor = *mut ::core::ffi::c_void; -pub type GattLocalDescriptorParameters = *mut ::core::ffi::c_void; -pub type GattLocalDescriptorResult = *mut ::core::ffi::c_void; -pub type GattLocalService = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct GattOpenStatus(pub i32); -impl GattOpenStatus { - pub const Unspecified: Self = Self(0i32); - pub const Success: Self = Self(1i32); - pub const AlreadyOpened: Self = Self(2i32); - pub const NotFound: Self = Self(3i32); - pub const SharingViolation: Self = Self(4i32); - pub const AccessDenied: Self = Self(5i32); -} -impl ::core::marker::Copy for GattOpenStatus {} -impl ::core::clone::Clone for GattOpenStatus { - fn clone(&self) -> Self { - *self - } -} -pub type GattPresentationFormat = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct GattProtectionLevel(pub i32); -impl GattProtectionLevel { - pub const Plain: Self = Self(0i32); - pub const AuthenticationRequired: Self = Self(1i32); - pub const EncryptionRequired: Self = Self(2i32); - pub const EncryptionAndAuthenticationRequired: Self = Self(3i32); -} -impl ::core::marker::Copy for GattProtectionLevel {} -impl ::core::clone::Clone for GattProtectionLevel { - fn clone(&self) -> Self { - *self - } -} -pub type GattReadClientCharacteristicConfigurationDescriptorResult = *mut ::core::ffi::c_void; -pub type GattReadRequest = *mut ::core::ffi::c_void; -pub type GattReadRequestedEventArgs = *mut ::core::ffi::c_void; -pub type GattReadResult = *mut ::core::ffi::c_void; -pub type GattReliableWriteTransaction = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct GattRequestState(pub i32); -impl GattRequestState { - pub const Pending: Self = Self(0i32); - pub const Completed: Self = Self(1i32); - pub const Canceled: Self = Self(2i32); -} -impl ::core::marker::Copy for GattRequestState {} -impl ::core::clone::Clone for GattRequestState { - fn clone(&self) -> Self { - *self - } -} -pub type GattRequestStateChangedEventArgs = *mut ::core::ffi::c_void; -pub type GattServiceProvider = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct GattServiceProviderAdvertisementStatus(pub i32); -impl GattServiceProviderAdvertisementStatus { - pub const Created: Self = Self(0i32); - pub const Stopped: Self = Self(1i32); - pub const Started: Self = Self(2i32); - pub const Aborted: Self = Self(3i32); - pub const StartedWithoutAllAdvertisementData: Self = Self(4i32); -} -impl ::core::marker::Copy for GattServiceProviderAdvertisementStatus {} -impl ::core::clone::Clone for GattServiceProviderAdvertisementStatus { - fn clone(&self) -> Self { - *self - } -} -pub type GattServiceProviderAdvertisementStatusChangedEventArgs = *mut ::core::ffi::c_void; -pub type GattServiceProviderAdvertisingParameters = *mut ::core::ffi::c_void; -pub type GattServiceProviderResult = *mut ::core::ffi::c_void; -pub type GattSession = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct GattSessionStatus(pub i32); -impl GattSessionStatus { - pub const Closed: Self = Self(0i32); - pub const Active: Self = Self(1i32); -} -impl ::core::marker::Copy for GattSessionStatus {} -impl ::core::clone::Clone for GattSessionStatus { - fn clone(&self) -> Self { - *self - } -} -pub type GattSessionStatusChangedEventArgs = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct GattSharingMode(pub i32); -impl GattSharingMode { - pub const Unspecified: Self = Self(0i32); - pub const Exclusive: Self = Self(1i32); - pub const SharedReadOnly: Self = Self(2i32); - pub const SharedReadAndWrite: Self = Self(3i32); -} -impl ::core::marker::Copy for GattSharingMode {} -impl ::core::clone::Clone for GattSharingMode { - fn clone(&self) -> Self { - *self - } -} -pub type GattSubscribedClient = *mut ::core::ffi::c_void; -pub type GattValueChangedEventArgs = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct GattWriteOption(pub i32); -impl GattWriteOption { - pub const WriteWithResponse: Self = Self(0i32); - pub const WriteWithoutResponse: Self = Self(1i32); -} -impl ::core::marker::Copy for GattWriteOption {} -impl ::core::clone::Clone for GattWriteOption { - fn clone(&self) -> Self { - *self - } -} -pub type GattWriteRequest = *mut ::core::ffi::c_void; -pub type GattWriteRequestedEventArgs = *mut ::core::ffi::c_void; -pub type GattWriteResult = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys-0.28.0/src/Windows/Devices/Bluetooth/Rfcomm/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Devices/Bluetooth/Rfcomm/mod.rs deleted file mode 100644 index 104b39ed9..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Devices/Bluetooth/Rfcomm/mod.rs +++ /dev/null @@ -1,7 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[link(name = "windows")] -extern "system" {} -pub type RfcommDeviceService = *mut ::core::ffi::c_void; -pub type RfcommDeviceServicesResult = *mut ::core::ffi::c_void; -pub type RfcommServiceId = *mut ::core::ffi::c_void; -pub type RfcommServiceProvider = *mut ::core::ffi::c_void; diff --git a/vendor/windows-sys-0.28.0/src/Windows/Devices/Bluetooth/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Devices/Bluetooth/mod.rs deleted file mode 100644 index 0d48095e3..000000000 --- a/vendor/windows-sys-0.28.0/src/Windows/Devices/Bluetooth/mod.rs +++ /dev/null @@ -1,215 +0,0 @@ -#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)] -#[cfg(feature = "Devices_Bluetooth_Advertisement")] -pub mod Advertisement; -#[cfg(feature = "Devices_Bluetooth_Background")] -pub mod Background; -#[cfg(feature = "Devices_Bluetooth_GenericAttributeProfile")] -pub mod GenericAttributeProfile; -#[cfg(feature = "Devices_Bluetooth_Rfcomm")] -pub mod Rfcomm; -#[link(name = "windows")] -extern "system" {} -pub type BluetoothAdapter = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct BluetoothAddressType(pub i32); -impl BluetoothAddressType { - pub const Public: Self = Self(0i32); - pub const Random: Self = Self(1i32); - pub const Unspecified: Self = Self(2i32); -} -impl ::core::marker::Copy for BluetoothAddressType {} -impl ::core::clone::Clone for BluetoothAddressType { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct BluetoothCacheMode(pub i32); -impl BluetoothCacheMode { - pub const Cached: Self = Self(0i32); - pub const Uncached: Self = Self(1i32); -} -impl ::core::marker::Copy for BluetoothCacheMode {} -impl ::core::clone::Clone for BluetoothCacheMode { - fn clone(&self) -> Self { - *self - } -} -pub type BluetoothClassOfDevice = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct BluetoothConnectionStatus(pub i32); -impl BluetoothConnectionStatus { - pub const Disconnected: Self = Self(0i32); - pub const Connected: Self = Self(1i32); -} -impl ::core::marker::Copy for BluetoothConnectionStatus {} -impl ::core::clone::Clone for BluetoothConnectionStatus { - fn clone(&self) -> Self { - *self - } -} -pub type BluetoothDevice = *mut ::core::ffi::c_void; -pub type BluetoothDeviceId = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct BluetoothError(pub i32); -impl BluetoothError { - pub const Success: Self = Self(0i32); - pub const RadioNotAvailable: Self = Self(1i32); - pub const ResourceInUse: Self = Self(2i32); - pub const DeviceNotConnected: Self = Self(3i32); - pub const OtherError: Self = Self(4i32); - pub const DisabledByPolicy: Self = Self(5i32); - pub const NotSupported: Self = Self(6i32); - pub const DisabledByUser: Self = Self(7i32); - pub const ConsentRequired: Self = Self(8i32); - pub const TransportNotSupported: Self = Self(9i32); -} -impl ::core::marker::Copy for BluetoothError {} -impl ::core::clone::Clone for BluetoothError { - fn clone(&self) -> Self { - *self - } -} -pub type BluetoothLEAppearance = *mut ::core::ffi::c_void; -pub type BluetoothLEConnectionParameters = *mut ::core::ffi::c_void; -pub type BluetoothLEConnectionPhy = *mut ::core::ffi::c_void; -pub type BluetoothLEConnectionPhyInfo = *mut ::core::ffi::c_void; -pub type BluetoothLEDevice = *mut ::core::ffi::c_void; -pub type BluetoothLEPreferredConnectionParameters = *mut ::core::ffi::c_void; -pub type BluetoothLEPreferredConnectionParametersRequest = *mut ::core::ffi::c_void; -#[repr(transparent)] -pub struct BluetoothLEPreferredConnectionParametersRequestStatus(pub i32); -impl BluetoothLEPreferredConnectionParametersRequestStatus { - pub const Unspecified: Self = Self(0i32); - pub const Success: Self = Self(1i32); - pub const DeviceNotAvailable: Self = Self(2i32); - pub const AccessDenied: Self = Self(3i32); -} -impl ::core::marker::Copy for BluetoothLEPreferredConnectionParametersRequestStatus {} -impl ::core::clone::Clone for BluetoothLEPreferredConnectionParametersRequestStatus { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct BluetoothMajorClass(pub i32); -impl BluetoothMajorClass { - pub const Miscellaneous: Self = Self(0i32); - pub const Computer: Self = Self(1i32); - pub const Phone: Self = Self(2i32); - pub const NetworkAccessPoint: Self = Self(3i32); - pub const AudioVideo: Self = Self(4i32); - pub const Peripheral: Self = Self(5i32); - pub const Imaging: Self = Self(6i32); - pub const Wearable: Self = Self(7i32); - pub const Toy: Self = Self(8i32); - pub const Health: Self = Self(9i32); -} -impl ::core::marker::Copy for BluetoothMajorClass {} -impl ::core::clone::Clone for BluetoothMajorClass { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct BluetoothMinorClass(pub i32); -impl BluetoothMinorClass { - pub const Uncategorized: Self = Self(0i32); - pub const ComputerDesktop: Self = Self(1i32); - pub const ComputerServer: Self = Self(2i32); - pub const ComputerLaptop: Self = Self(3i32); - pub const ComputerHandheld: Self = Self(4i32); - pub const ComputerPalmSize: Self = Self(5i32); - pub const ComputerWearable: Self = Self(6i32); - pub const ComputerTablet: Self = Self(7i32); - pub const PhoneCellular: Self = Self(1i32); - pub const PhoneCordless: Self = Self(2i32); - pub const PhoneSmartPhone: Self = Self(3i32); - pub const PhoneWired: Self = Self(4i32); - pub const PhoneIsdn: Self = Self(5i32); - pub const NetworkFullyAvailable: Self = Self(0i32); - pub const NetworkUsed01To17Percent: Self = Self(8i32); - pub const NetworkUsed17To33Percent: Self = Self(16i32); - pub const NetworkUsed33To50Percent: Self = Self(24i32); - pub const NetworkUsed50To67Percent: Self = Self(32i32); - pub const NetworkUsed67To83Percent: Self = Self(40i32); - pub const NetworkUsed83To99Percent: Self = Self(48i32); - pub const NetworkNoServiceAvailable: Self = Self(56i32); - pub const AudioVideoWearableHeadset: Self = Self(1i32); - pub const AudioVideoHandsFree: Self = Self(2i32); - pub const AudioVideoMicrophone: Self = Self(4i32); - pub const AudioVideoLoudspeaker: Self = Self(5i32); - pub const AudioVideoHeadphones: Self = Self(6i32); - pub const AudioVideoPortableAudio: Self = Self(7i32); - pub const AudioVideoCarAudio: Self = Self(8i32); - pub const AudioVideoSetTopBox: Self = Self(9i32); - pub const AudioVideoHifiAudioDevice: Self = Self(10i32); - pub const AudioVideoVcr: Self = Self(11i32); - pub const AudioVideoVideoCamera: Self = Self(12i32); - pub const AudioVideoCamcorder: Self = Self(13i32); - pub const AudioVideoVideoMonitor: Self = Self(14i32); - pub const AudioVideoVideoDisplayAndLoudspeaker: Self = Self(15i32); - pub const AudioVideoVideoConferencing: Self = Self(16i32); - pub const AudioVideoGamingOrToy: Self = Self(18i32); - pub const PeripheralJoystick: Self = Self(1i32); - pub const PeripheralGamepad: Self = Self(2i32); - pub const PeripheralRemoteControl: Self = Self(3i32); - pub const PeripheralSensing: Self = Self(4i32); - pub const PeripheralDigitizerTablet: Self = Self(5i32); - pub const PeripheralCardReader: Self = Self(6i32); - pub const PeripheralDigitalPen: Self = Self(7i32); - pub const PeripheralHandheldScanner: Self = Self(8i32); - pub const PeripheralHandheldGesture: Self = Self(9i32); - pub const WearableWristwatch: Self = Self(1i32); - pub const WearablePager: Self = Self(2i32); - pub const WearableJacket: Self = Self(3i32); - pub const WearableHelmet: Self = Self(4i32); - pub const WearableGlasses: Self = Self(5i32); - pub const ToyRobot: Self = Self(1i32); - pub const ToyVehicle: Self = Self(2i32); - pub const ToyDoll: Self = Self(3i32); - pub const ToyController: Self = Self(4i32); - pub const ToyGame: Self = Self(5i32); - pub const HealthBloodPressureMonitor: Self = Self(1i32); - pub const HealthThermometer: Self = Self(2i32); - pub const HealthWeighingScale: Self = Self(3i32); - pub const HealthGlucoseMeter: Self = Self(4i32); - pub const HealthPulseOximeter: Self = Self(5i32); - pub const HealthHeartRateMonitor: Self = Self(6i32); - pub const HealthHealthDataDisplay: Self = Self(7i32); - pub const HealthStepCounter: Self = Self(8i32); - pub const HealthBodyCompositionAnalyzer: Self = Self(9i32); - pub const HealthPeakFlowMonitor: Self = Self(10i32); - pub const HealthMedicationMonitor: Self = Self(11i32); - pub const HealthKneeProsthesis: Self = Self(12i32); - pub const HealthAnkleProsthesis: Self = Self(13i32); - pub const HealthGenericHealthManager: Self = Self(14i32); - pub const HealthPersonalMobilityDevice: Self = Self(15i32); -} -impl ::core::marker::Copy for BluetoothMinorClass {} -impl ::core::clone::Clone for BluetoothMinorClass { - fn clone(&self) -> Self { - *self - } -} -#[repr(transparent)] -pub struct BluetoothServiceCapabilities(pub u32); -impl BluetoothServiceCapabilities { - pub const None: Self = Self(0u32); - pub const LimitedDiscoverableMode: Self = Self(1u32); - pub const PositioningService: Self = Self(8u32); - pub const NetworkingService: Self = Self(16u32); - pub const RenderingService: Self = Self(32u32); - pub const CapturingService: Self = Self(64u32); - pub const ObjectTransferService: Self = Self(128u32); - pub const AudioService: Self = Self(256u32); - pub const TelephoneService: Self = Self(512u32); - pub const InformationService: Self = Self(1024u32); -} -impl ::core::marker::Copy for BluetoothServiceCapabilities {} -impl ::core::clone::Clone for BluetoothServiceCapabilities { - fn clone(&self) -> Self { - *self - } -} -pub type BluetoothSignalStrengthFilter = *mut ::core::ffi::c_void; |