[][src]Enum bluez::interface::class::DeviceClass

pub enum DeviceClass {
    Computer(ComputerDeviceClass),
    Phone(PhoneDeviceClass),
    AccessPoint(f64),
    AudioVideo(AudioVideoDeviceClass),
    Peripheral {
        keyboard: bool,
        pointer: bool,
        class: PeripheralDeviceClass,
    },
    Imaging {
        display: bool,
        camera: bool,
        scanner: bool,
        printer: bool,
    },
    Wearable(WearableDeviceClass),
    Toy(ToyDeviceClass),
    Health(HealthDeviceClass),
    Uncategorized,
    Unknown,
}

Variants

AccessPoint(f64)

The parameter is the amount of utilisation the access point currently has, expressed as a fraction.

Peripheral

Fields of Peripheral

keyboard: boolpointer: boolclass: PeripheralDeviceClass
Imaging

Fields of Imaging

display: boolcamera: boolscanner: boolprinter: bool
Uncategorized
Unknown

Trait Implementations

impl Clone for DeviceClass[src]

impl Copy for DeviceClass[src]

impl Debug for DeviceClass[src]

impl Into<u16> for DeviceClass[src]

impl PartialEq<DeviceClass> for DeviceClass[src]

impl StructuralPartialEq for DeviceClass[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.