Struct bluez_async::AdapterInfo[][src]

pub struct AdapterInfo {
    pub id: AdapterId,
    pub mac_address: MacAddress,
    pub address_type: AddressType,
    pub name: String,
    pub alias: String,
    pub powered: bool,
    pub discovering: bool,
}

Information about a Bluetooth adapter on the system.

Fields

id: AdapterId

An opaque identifier for the adapter. This can be used to perform operations on it.

mac_address: MacAddress

The MAC address of the adapter.

address_type: AddressType

The type of MAC address the adapter uses.

name: String

The Bluetooth system hostname.

alias: String

The Bluetooth friendly name. This defaults to the system hostname.

powered: bool

Whether the adapter is currently turned on.

discovering: bool

Whether the adapter is currently discovering devices.

Trait Implementations

impl Clone for AdapterInfo[src]

impl Debug for AdapterInfo[src]

impl Eq for AdapterInfo[src]

impl PartialEq<AdapterInfo> for AdapterInfo[src]

impl StructuralEq for AdapterInfo[src]

impl StructuralPartialEq for AdapterInfo[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.