Enum btmgmt_packet::event::Event[][src]

pub enum Event {
Show 47 variants CommandComplete(CommandComplete), CommandStatus(CommandStatus), ControllerError(ControllerError), IndexAdded(IndexAdded), IndexRemoved(IndexRemoved), NewSettings(NewSettings), ClassOfDeviceChanged(ClassOfDeviceChanged), LocalNameChanged(LocalNameChanged), NewLinkKey(NewLinkKey), NewLongTermKey(NewLongTermKey), DeviceConnected(DeviceConnected), DeviceDisconnect(DeviceDisconnect), ConnectFailed(ConnectFailed), PinCodeRequest(PinCodeRequest), UserConfirmationRequest(UserConfirmationRequest), UserPasskeyRequest(UserPasskeyRequest), AuthenticationFailed(AuthenticationFailed), DeviceFound(DeviceFound), Discovering(Discovering), DeviceBlocked(DeviceBlocked), DeviceUnblocked(DeviceUnblocked), DeviceUnpaired(DeviceUnpaired), PasskeyNotify(PasskeyNotify), NewIdentityResolvingKey(NewIdentityResolvingKey), NewSignatureResolvingKey(NewSignatureResolvingKey), DeviceAdded(DeviceAdded), DeviceRemoved(DeviceRemoved), NewConnectionParameter(NewConnectionParameter), UnconfiguredIndexAdded(UnconfiguredIndexAdded), UnconfiguredIndexRemoved(UnconfiguredIndexRemoved), NewConfigurationOptions(NewConfigurationOptions), ExtendedIndexAdded(ExtendedIndexAdded), ExtendedIndexRemoved(ExtendedIndexRemoved), LocalOutOfBandExtendedDataUpdate(LocalOutOfBandExtendedDataUpdate), AdvertisingAdded(AdvertisingAdded), AdvertisingRemoved(AdvertisingRemoved), ExtendedControllerInformationChanged(ExtendedControllerInformationChanged), PhyConfigurationChanged(PhyConfigurationChanged), ExperimentalFeatureChanged(ExperimentalFeatureChanged), DefaultSystemConfigurationChanged(DefaultSystemConfigurationChanged), DefaultRuntimeConfigurationChanged(DefaultRuntimeConfigurationChanged), DeviceFlagsChanged(DeviceFlagsChanged), AdvertisementMonitorAdded(AdvertisementMonitorAdded), AdvertisementMonitorRemoved(AdvertisementMonitorRemoved), ControllerSuspend(ControllerSuspend), ControllerResume(ControllerResume), Unknown(u16Box<[u8]>),
}
Expand description

Management API Events

Variants

CommandComplete(CommandComplete)

Tuple Fields

Command Complete Event

see bluez docs/mgmt-api.txt

CommandStatus(CommandStatus)

Tuple Fields

Command Status Event

see bluez docs/mgmt-api.txt

ControllerError(ControllerError)

Tuple Fields

Controller Error Event

see bluez docs/mgmt-api.txt

IndexAdded(IndexAdded)

Tuple Fields

Index Added Event

see bluez docs/mgmt-api.txt

IndexRemoved(IndexRemoved)

Tuple Fields

Index Removed Event

see bluez docs/mgmt-api.txt

NewSettings(NewSettings)

Tuple Fields

New Settings Event

see bluez docs/mgmt-api.txt

ClassOfDeviceChanged(ClassOfDeviceChanged)

Tuple Fields

Class Of Device Changed Event

see bluez docs/mgmt-api.txt

LocalNameChanged(LocalNameChanged)

Tuple Fields

Local Name Changed Event

see bluez docs/mgmt-api.txt

NewLinkKey(NewLinkKey)

Tuple Fields

New Link Key Event

see bluez docs/mgmt-api.txt

NewLongTermKey(NewLongTermKey)

Tuple Fields

New Long Term Key Event

see bluez docs/mgmt-api.txt

DeviceConnected(DeviceConnected)

Tuple Fields

Device Connected Event

see bluez docs/mgmt-api.txt

DeviceDisconnect(DeviceDisconnect)

Tuple Fields

Device Disconnected Event

see bluez docs/mgmt-api.txt

ConnectFailed(ConnectFailed)

Tuple Fields

Connect Failed Event

see bluez docs/mgmt-api.txt

PinCodeRequest(PinCodeRequest)

Tuple Fields

PIN Code Request Event

see bluez docs/mgmt-api.txt

UserConfirmationRequest(UserConfirmationRequest)

Tuple Fields

User Confirmation Request Event

see bluez docs/mgmt-api.txt

UserPasskeyRequest(UserPasskeyRequest)

Tuple Fields

User Passkey Request Event

see bluez docs/mgmt-api.txt

AuthenticationFailed(AuthenticationFailed)

Tuple Fields

Authentication Failed Event

see bluez docs/mgmt-api.txt

DeviceFound(DeviceFound)

Tuple Fields

Device Found Event

see bluez docs/mgmt-api.txt

Discovering(Discovering)

Tuple Fields

Discovering Event

see bluez docs/mgmt-api.txt

DeviceBlocked(DeviceBlocked)

Tuple Fields

Device Blocked Event

see bluez docs/mgmt-api.txt

DeviceUnblocked(DeviceUnblocked)

Tuple Fields

Device Unblocked Event

see bluez docs/mgmt-api.txt

DeviceUnpaired(DeviceUnpaired)

Tuple Fields

Device Unpaired Event

see bluez docs/mgmt-api.txt

PasskeyNotify(PasskeyNotify)

Tuple Fields

Passkey Notify Event

see bluez docs/mgmt-api.txt

NewIdentityResolvingKey(NewIdentityResolvingKey)

Tuple Fields

New Identity Resolving Key Event

see bluez docs/mgmt-api.txt

NewSignatureResolvingKey(NewSignatureResolvingKey)

Tuple Fields

New Signature Resolving Key Event

see bluez docs/mgmt-api.txt

DeviceAdded(DeviceAdded)

Tuple Fields

Device Added Event

see bluez docs/mgmt-api.txt

DeviceRemoved(DeviceRemoved)

Tuple Fields

Device Removed Event

see bluez docs/mgmt-api.txt

NewConnectionParameter(NewConnectionParameter)

Tuple Fields

New Connection Parameter Event

see bluez docs/mgmt-api.txt

UnconfiguredIndexAdded(UnconfiguredIndexAdded)

Tuple Fields

Unconfigured Index Added Event

see bluez docs/mgmt-api.txt

UnconfiguredIndexRemoved(UnconfiguredIndexRemoved)

Tuple Fields

Unconfigured Index Removed Event

see bluez docs/mgmt-api.txt

NewConfigurationOptions(NewConfigurationOptions)

Tuple Fields

New Configuration Options Event

see bluez docs/mgmt-api.txt

ExtendedIndexAdded(ExtendedIndexAdded)

Tuple Fields

Extended Index Added Event

see bluez docs/mgmt-api.txt

ExtendedIndexRemoved(ExtendedIndexRemoved)

Tuple Fields

Extended Index Removed Event

see bluez docs/mgmt-api.txt

LocalOutOfBandExtendedDataUpdate(LocalOutOfBandExtendedDataUpdate)

Local Out Of Band Extended Data Updated Event

see bluez docs/mgmt-api.txt

AdvertisingAdded(AdvertisingAdded)

Tuple Fields

Advertising Added Event

see bluez docs/mgmt-api.txt

AdvertisingRemoved(AdvertisingRemoved)

Tuple Fields

Advertising Removed Event

see bluez docs/mgmt-api.txt

ExtendedControllerInformationChanged(ExtendedControllerInformationChanged)

Extended Controller Information Changed Event

see bluez docs/mgmt-api.txt

PhyConfigurationChanged(PhyConfigurationChanged)

Tuple Fields

PHY Configuration Changed Event

see bluez docs/mgmt-api.txt

ExperimentalFeatureChanged(ExperimentalFeatureChanged)

Experimental Feature Changed Event

see bluez docs/mgmt-api.txt

DefaultSystemConfigurationChanged(DefaultSystemConfigurationChanged)

Default System Configuration Changed Event

see bluez docs/mgmt-api.txt

DefaultRuntimeConfigurationChanged(DefaultRuntimeConfigurationChanged)

Default Runtime Configuration Changed Event

see bluez docs/mgmt-api.txt

DeviceFlagsChanged(DeviceFlagsChanged)

Tuple Fields

Device Flags Changed Event

see bluez docs/mgmt-api.txt

AdvertisementMonitorAdded(AdvertisementMonitorAdded)

Advertisement Monitor Added Event

see bluez docs/mgmt-api.txt

AdvertisementMonitorRemoved(AdvertisementMonitorRemoved)

Advertisement Monitor Removed Event

see bluez docs/mgmt-api.txt

ControllerSuspend(ControllerSuspend)

Tuple Fields

Controller Suspend Event

see bluez docs/mgmt-api.txt

ControllerResume(ControllerResume)

Tuple Fields

Controller Resume Event

see bluez docs/mgmt-api.txt

Unknown(u16Box<[u8]>)

Tuple Fields

0: u16
1: Box<[u8]>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.