Enum ReturnParameters

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

Status returned by the Set Event Mask command.

§

Reset(Status)

Status returned by the Reset command.

§

ReadTxPowerLevel(TxPowerLevel)

Read Transmit Power Level return parameters.

§

ReadLocalVersionInformation(LocalVersionInfo)

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

§

ReadLocalSupportedCommands(LocalSupportedCommands)

Supported commands returned by the Read Local Supported Commands command.

§

ReadLocalSupportedFeatures(LocalSupportedFeatures)

Supported features returned by the Read Local Supported Features command.

§

ReadBdAddr(ReadBdAddr)

BD ADDR returned by the Read BD ADDR command.

§

ReadRssi(ReadRssi)

RSSI returned by the Read RSSI command.

§

LeSetEventMask(Status)

Status returned by the LE Set Event Mask command.

§

LeReadBufferSize(LeReadBufferSize)

Parameters returned by the LE Read Buffer Size command.

§

LeReadLocalSupportedFeatures(LeSupportedFeatures)

Parameters returned by the LE Read Local Supported Features command.

§

LeSetRandomAddress(Status)

Status returned by the LE Set Random Address command.

§

LeSetAdvertisingParameters(Status)

Status returned by the LE Set Advertising Parameters command.

§

LeReadAdvertisingChannelTxPower(LeAdvertisingChannelTxPower)

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

§

LeSetAdvertisingData(Status)

Status returned by the LE Set Advertising Data command.

§

LeSetScanResponseData(Status)

Status returned by the LE Set Scan Response Data command.

§

LeSetAdvertisingEnable(Status)

Status returned by the LE Set Advertising Enable command.

§

LeSetScanParameters(Status)

Status returned by the LE Set Scan Parameters command.

§

LeSetScanEnable(Status)

Status returned by the LE Set Scan Enable command.

§

LeCreateConnectionCancel(Status)

Status returned by the LE Create Connection Cancel command.

§

LeReadWhiteListSize(Status, usize)

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

§

LeClearWhiteList(Status)

Status returned by the LE Clear White List command.

§

LeAddDeviceToWhiteList(Status)

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

§

LeRemoveDeviceFromWhiteList(Status)

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

§

LeSetHostChannelClassification(Status)

Status returned by the LE Set Host Channel Classification command.

§

LeReadChannelMap(ChannelMapParameters)

Parameters returned by the LE Read Channel Map command.

§

LeEncrypt(EncryptedReturnParameters)

Parameters returned by the LE Encrypt command.

§

LeRand(LeRandom)

Parameters returned by the LE Rand command.

§

LeLongTermKeyRequestReply(LeLongTermRequestReply)

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

§

LeLongTermKeyRequestNegativeReply(LeLongTermRequestReply)

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

§

LeReadSupportedStates(LeReadSupportedStates)

Parameters returned by the LE Read States) command.

§

LeReceiverTest(Status)

Status returned by the LE Receiver Test command.

§

LeTransmitterTest(Status)

Status returned by the LE Transmitter Test command.

§

LeTestEnd(LeTestEnd)

Parameters returned by the LE Test End command.

§

Vendor(VendorReturnParameters)

Parameters returned by vendor-specific commands.

Trait Implementations§

Source§

impl Clone for ReturnParameters

Source§

fn clone(&self) -> ReturnParameters

Returns a duplicate 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 Debug for ReturnParameters

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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 T
where 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 T
where U: Into<T>,

Source§

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 T
where U: TryFrom<T>,

Source§

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.