Enum BtHostBredrPeerDisconnectionEventMetricDimensionReason
pub enum BtHostBredrPeerDisconnectionEventMetricDimensionReason {
Unknown = 0,
ApiRequest = 1,
InterrogationFailed = 2,
PairingFailed = 3,
AclLinkError = 4,
PeerDisconnection = 5,
}
Variants§
Unknown = 0
ApiRequest = 1
InterrogationFailed = 2
PairingFailed = 3
AclLinkError = 4
PeerDisconnection = 5
Trait Implementations§
§impl AsEventCode for BtHostBredrPeerDisconnectionEventMetricDimensionReason
impl AsEventCode for BtHostBredrPeerDisconnectionEventMetricDimensionReason
fn as_event_code(&self) -> u32
§impl Clone for BtHostBredrPeerDisconnectionEventMetricDimensionReason
impl Clone for BtHostBredrPeerDisconnectionEventMetricDimensionReason
§fn clone(&self) -> BtHostBredrPeerDisconnectionEventMetricDimensionReason
fn clone(&self) -> BtHostBredrPeerDisconnectionEventMetricDimensionReason
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 BtHostBredrPeerDisconnectionEventMetricDimensionReason
impl Ord for BtHostBredrPeerDisconnectionEventMetricDimensionReason
§fn cmp(
&self,
other: &BtHostBredrPeerDisconnectionEventMetricDimensionReason,
) -> Ordering
fn cmp( &self, other: &BtHostBredrPeerDisconnectionEventMetricDimensionReason, ) -> 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 BtHostBredrPeerDisconnectionEventMetricDimensionReason
impl PartialEq for BtHostBredrPeerDisconnectionEventMetricDimensionReason
§fn eq(
&self,
other: &BtHostBredrPeerDisconnectionEventMetricDimensionReason,
) -> bool
fn eq( &self, other: &BtHostBredrPeerDisconnectionEventMetricDimensionReason, ) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.§impl PartialOrd for BtHostBredrPeerDisconnectionEventMetricDimensionReason
impl PartialOrd for BtHostBredrPeerDisconnectionEventMetricDimensionReason
impl Copy for BtHostBredrPeerDisconnectionEventMetricDimensionReason
impl Eq for BtHostBredrPeerDisconnectionEventMetricDimensionReason
impl StructuralPartialEq for BtHostBredrPeerDisconnectionEventMetricDimensionReason
Auto Trait Implementations§
impl Freeze for BtHostBredrPeerDisconnectionEventMetricDimensionReason
impl RefUnwindSafe for BtHostBredrPeerDisconnectionEventMetricDimensionReason
impl Send for BtHostBredrPeerDisconnectionEventMetricDimensionReason
impl Sync for BtHostBredrPeerDisconnectionEventMetricDimensionReason
impl Unpin for BtHostBredrPeerDisconnectionEventMetricDimensionReason
impl UnwindSafe for BtHostBredrPeerDisconnectionEventMetricDimensionReason
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
)