#[repr(u8)]pub enum HciPacketType {
Command = 1,
AclData = 2,
ScoData = 3,
Event = 4,
}Expand description
HCI packet type indicators (UART H4 transport)
Variants§
Command = 1
HCI Command packet (host -> controller)
AclData = 2
ACL Data packet (bidirectional)
ScoData = 3
SCO Data packet (bidirectional, synchronous)
Event = 4
HCI Event packet (controller -> host)
Trait Implementations§
Source§impl Clone for HciPacketType
impl Clone for HciPacketType
Source§fn clone(&self) -> HciPacketType
fn clone(&self) -> HciPacketType
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HciPacketType
impl Debug for HciPacketType
Source§impl PartialEq for HciPacketType
impl PartialEq for HciPacketType
impl Copy for HciPacketType
impl Eq for HciPacketType
impl StructuralPartialEq for HciPacketType
Auto Trait Implementations§
impl Freeze for HciPacketType
impl RefUnwindSafe for HciPacketType
impl Send for HciPacketType
impl Sync for HciPacketType
impl Unpin for HciPacketType
impl UnwindSafe for HciPacketType
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)