Enum BtHostAdapterEventMetricDimensionEvent
pub enum BtHostAdapterEventMetricDimensionEvent {
OpenL2capChannelRequest = 0,
OutgoingConnectionRequest = 1,
PairRequest = 2,
RequestDiscoverable = 3,
RequestDiscovery = 4,
SetConnectableTrue = 5,
SetConnectableFalse = 6,
StartAdvertising = 7,
StopAdvertising = 8,
StartDiscovery = 9,
}
Variants§
OpenL2capChannelRequest = 0
OutgoingConnectionRequest = 1
PairRequest = 2
RequestDiscoverable = 3
RequestDiscovery = 4
SetConnectableTrue = 5
SetConnectableFalse = 6
StartAdvertising = 7
StopAdvertising = 8
StartDiscovery = 9
Trait Implementations§
§impl AsEventCode for BtHostAdapterEventMetricDimensionEvent
impl AsEventCode for BtHostAdapterEventMetricDimensionEvent
fn as_event_code(&self) -> u32
§impl Clone for BtHostAdapterEventMetricDimensionEvent
impl Clone for BtHostAdapterEventMetricDimensionEvent
§fn clone(&self) -> BtHostAdapterEventMetricDimensionEvent
fn clone(&self) -> BtHostAdapterEventMetricDimensionEvent
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Ord for BtHostAdapterEventMetricDimensionEvent
impl Ord for BtHostAdapterEventMetricDimensionEvent
§fn cmp(&self, other: &BtHostAdapterEventMetricDimensionEvent) -> Ordering
fn cmp(&self, other: &BtHostAdapterEventMetricDimensionEvent) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
§impl PartialEq for BtHostAdapterEventMetricDimensionEvent
impl PartialEq for BtHostAdapterEventMetricDimensionEvent
§fn eq(&self, other: &BtHostAdapterEventMetricDimensionEvent) -> bool
fn eq(&self, other: &BtHostAdapterEventMetricDimensionEvent) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.§impl PartialOrd for BtHostAdapterEventMetricDimensionEvent
impl PartialOrd for BtHostAdapterEventMetricDimensionEvent
impl Copy for BtHostAdapterEventMetricDimensionEvent
impl Eq for BtHostAdapterEventMetricDimensionEvent
impl StructuralPartialEq for BtHostAdapterEventMetricDimensionEvent
Auto Trait Implementations§
impl Freeze for BtHostAdapterEventMetricDimensionEvent
impl RefUnwindSafe for BtHostAdapterEventMetricDimensionEvent
impl Send for BtHostAdapterEventMetricDimensionEvent
impl Sync for BtHostAdapterEventMetricDimensionEvent
impl Unpin for BtHostAdapterEventMetricDimensionEvent
impl UnwindSafe for BtHostAdapterEventMetricDimensionEvent
Blanket Implementations§
§impl<A> AsEventCodes for Awhere
A: AsEventCode,
impl<A> AsEventCodes for Awhere
A: AsEventCode,
§fn as_event_codes(&self) -> Vec<u32>
fn as_event_codes(&self) -> Vec<u32>
Converts the source type into a
Vec<u32>
of event codes.Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)