pub enum Packet {
Command(Vec<u8>),
Acl(Vec<u8>),
Sco(Vec<u8>),
Event(Vec<u8>),
Iso(Vec<u8>),
}Expand description
One HCI packet, without its H4 indicator.
Variants§
Command(Vec<u8>)
A command (header included).
Acl(Vec<u8>)
ACL data (header included).
Sco(Vec<u8>)
SCO data (header included).
Event(Vec<u8>)
An event (header included).
Iso(Vec<u8>)
ISO data (header included).
Implementations§
Trait Implementations§
impl Eq for Packet
impl StructuralPartialEq for Packet
Auto Trait Implementations§
impl Freeze for Packet
impl RefUnwindSafe for Packet
impl Send for Packet
impl Sync for Packet
impl Unpin for Packet
impl UnsafeUnpin for Packet
impl UnwindSafe for Packet
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