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
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd for BtHostAdapterEventMetricDimensionEvent
impl PartialOrd for BtHostAdapterEventMetricDimensionEvent
§fn partial_cmp(
&self,
other: &BtHostAdapterEventMetricDimensionEvent
) -> Option<Ordering>
fn partial_cmp( &self, other: &BtHostAdapterEventMetricDimensionEvent ) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl 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