Struct bluer::adv::Capabilities [−][src]
#[non_exhaustive]pub struct Capabilities { pub max_advertisement_length: u8, pub max_scan_response_length: u8, pub min_tx_power: i16, pub max_tx_power: i16, }
bluetoothd
only.Expand description
Advertising-related controller capabilities.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.max_advertisement_length: u8
Maximum advertising data length.
max_scan_response_length: u8
Maximum advertising scan response length.
min_tx_power: i16
Minimum advertising TX power (dBm).
max_tx_power: i16
Maximum advertising TX power (dBm).
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Capabilities
impl Send for Capabilities
impl Sync for Capabilities
impl Unpin for Capabilities
impl UnwindSafe for Capabilities
Blanket Implementations
Mutably borrows from an owned value. Read more