#[repr(u8)]pub enum HciEventType {
InquiryComplete = 1,
InquiryResult = 2,
ConnectionComplete = 3,
ConnectionRequest = 4,
CommandComplete = 14,
LeAdvertising = 62,
}
Variants§
InquiryComplete = 1
InquiryResult = 2
ConnectionComplete = 3
ConnectionRequest = 4
CommandComplete = 14
LeAdvertising = 62
Trait Implementations§
Source§impl Clone for HciEventType
impl Clone for HciEventType
Source§fn clone(&self) -> HciEventType
fn clone(&self) -> HciEventType
Returns a duplicate 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 moreSource§impl Format for HciEventType
impl Format for HciEventType
Source§impl PartialEq for HciEventType
impl PartialEq for HciEventType
Source§impl TryFrom<u8> for HciEventType
impl TryFrom<u8> for HciEventType
Source§type Error = TryFromPrimitiveError<HciEventType>
type Error = TryFromPrimitiveError<HciEventType>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for HciEventType
impl TryFromPrimitive for HciEventType
const NAME: &'static str = "HciEventType"
type Primitive = u8
type Error = TryFromPrimitiveError<HciEventType>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for HciEventType
impl StructuralPartialEq for HciEventType
Auto Trait Implementations§
impl Freeze for HciEventType
impl RefUnwindSafe for HciEventType
impl Send for HciEventType
impl Sync for HciEventType
impl Unpin for HciEventType
impl UnwindSafe for HciEventType
Blanket Implementations§
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