pub enum ReturnParameters<V>where
    V: VendorEvent,{
Show 36 variants Spontaneous, SetEventMask(Status<V::Status>), Reset(Status<V::Status>), ReadTxPowerLevel(TxPowerLevel<V::Status>), ReadLocalVersionInformation(LocalVersionInfo<V::Status>), ReadLocalSupportedCommands(LocalSupportedCommands<V::Status>), ReadLocalSupportedFeatures(LocalSupportedFeatures<V::Status>), ReadBdAddr(ReadBdAddr<V::Status>), ReadRssi(ReadRssi<V::Status>), LeSetEventMask(Status<V::Status>), LeReadBufferSize(LeReadBufferSize<V::Status>), LeReadLocalSupportedFeatures(LeSupportedFeatures<V::Status>), LeSetRandomAddress(Status<V::Status>), LeSetAdvertisingParameters(Status<V::Status>), LeReadAdvertisingChannelTxPower(LeAdvertisingChannelTxPower<V::Status>), LeSetAdvertisingData(Status<V::Status>), LeSetScanResponseData(Status<V::Status>), LeSetAdvertisingEnable(Status<V::Status>), LeSetScanParameters(Status<V::Status>), LeSetScanEnable(Status<V::Status>), LeCreateConnectionCancel(Status<V::Status>), LeReadWhiteListSize(Status<V::Status>, usize), LeClearWhiteList(Status<V::Status>), LeAddDeviceToWhiteList(Status<V::Status>), LeRemoveDeviceFromWhiteList(Status<V::Status>), LeSetHostChannelClassification(Status<V::Status>), LeReadChannelMap(ChannelMapParameters<V::Status>), LeEncrypt(EncryptedReturnParameters<V::Status>), LeRand(LeRandom<V::Status>), LeLongTermKeyRequestReply(LeLongTermRequestReply<V::Status>), LeLongTermKeyRequestNegativeReply(LeLongTermRequestReply<V::Status>), LeReadSupportedStates(LeReadSupportedStates<V::Status>), LeReceiverTest(Status<V::Status>), LeTransmitterTest(Status<V::Status>), LeTestEnd(LeTestEnd<V::Status>), Vendor(V::ReturnParameters),
}
Expand description

Commands that may generate the Command Complete event. If the commands have defined return parameters, they are included in this enum.

Variants§

§

Spontaneous

The controller sent an unsolicited command complete event in order to change the number of HCI command packets the Host is allowed to send.

§

SetEventMask(Status<V::Status>)

Status returned by the Set Event Mask command.

§

Reset(Status<V::Status>)

Status returned by the Reset command.

§

ReadTxPowerLevel(TxPowerLevel<V::Status>)

Read Transmit Power Level return parameters.

§

ReadLocalVersionInformation(LocalVersionInfo<V::Status>)

Local version info returned by the Read Local Version Information command.

§

ReadLocalSupportedCommands(LocalSupportedCommands<V::Status>)

Supported commands returned by the Read Local Supported Commands command.

§

ReadLocalSupportedFeatures(LocalSupportedFeatures<V::Status>)

Supported features returned by the Read Local Supported Features command.

§

ReadBdAddr(ReadBdAddr<V::Status>)

BD ADDR returned by the Read BD ADDR command.

§

ReadRssi(ReadRssi<V::Status>)

RSSI returned by the Read RSSI command.

§

LeSetEventMask(Status<V::Status>)

Status returned by the LE Set Event Mask command.

§

LeReadBufferSize(LeReadBufferSize<V::Status>)

Parameters returned by the LE Read Buffer Size command.

§

LeReadLocalSupportedFeatures(LeSupportedFeatures<V::Status>)

Parameters returned by the LE Read Local Supported Features command.

§

LeSetRandomAddress(Status<V::Status>)

Status returned by the LE Set Random Address command.

§

LeSetAdvertisingParameters(Status<V::Status>)

Status returned by the LE Set Advertising Parameters command.

§

LeReadAdvertisingChannelTxPower(LeAdvertisingChannelTxPower<V::Status>)

Parameters returned by the LE Read Advertising Channel TX Power command.

§

LeSetAdvertisingData(Status<V::Status>)

Status returned by the LE Set Advertising Data command.

§

LeSetScanResponseData(Status<V::Status>)

Status returned by the LE Set Scan Response Data command.

§

LeSetAdvertisingEnable(Status<V::Status>)

Status returned by the LE Set Advertising Enable command.

§

LeSetScanParameters(Status<V::Status>)

Status returned by the LE Set Scan Parameters command.

§

LeSetScanEnable(Status<V::Status>)

Status returned by the LE Set Scan Enable command.

§

LeCreateConnectionCancel(Status<V::Status>)

Status returned by the LE Create Connection Cancel command.

§

LeReadWhiteListSize(Status<V::Status>, usize)

Status and white list size returned by the LE Read White List Size command.

§

LeClearWhiteList(Status<V::Status>)

Status returned by the LE Clear White List command.

§

LeAddDeviceToWhiteList(Status<V::Status>)

Status returned by the LE Add Device to White List command.

§

LeRemoveDeviceFromWhiteList(Status<V::Status>)

Status returned by the LE Remove Device from White List command.

§

LeSetHostChannelClassification(Status<V::Status>)

Status returned by the LE Set Host Channel Classification command.

§

LeReadChannelMap(ChannelMapParameters<V::Status>)

Parameters returned by the LE Read Channel Map command.

§

LeEncrypt(EncryptedReturnParameters<V::Status>)

Parameters returned by the LE Encrypt command.

§

LeRand(LeRandom<V::Status>)

Parameters returned by the LE Rand command.

§

LeLongTermKeyRequestReply(LeLongTermRequestReply<V::Status>)

Parameters returned by the LE Long Term Key Request Reply command.

§

LeLongTermKeyRequestNegativeReply(LeLongTermRequestReply<V::Status>)

Parameters returned by the LE Long Term Key Request Negative Reply command.

§

LeReadSupportedStates(LeReadSupportedStates<V::Status>)

Parameters returned by the LE Read States) command.

§

LeReceiverTest(Status<V::Status>)

Status returned by the LE Receiver Test command.

§

LeTransmitterTest(Status<V::Status>)

Status returned by the LE Transmitter Test command.

§

LeTestEnd(LeTestEnd<V::Status>)

Parameters returned by the LE Test End command.

§

Vendor(V::ReturnParameters)

Parameters returned by vendor-specific commands.

Trait Implementations§

source§

impl<V> Clone for ReturnParameters<V>where V: VendorEvent + Clone, V::Status: Clone, V::ReturnParameters: Clone,

source§

fn clone(&self) -> ReturnParameters<V>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<V> Debug for ReturnParameters<V>where V: VendorEvent + Debug, V::Status: Debug, V::ReturnParameters: Debug,

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<V> Copy for ReturnParameters<V>where V: VendorEvent + Copy, V::Status: Copy, V::ReturnParameters: Copy,

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.