pub enum Packet<Vendor>where
Vendor: VendorEvent,{
Event(Event<Vendor>),
}Expand description
Packet types that may be read from the controller.
Variants§
Event(Event<Vendor>)
The HCI Event Packet is used by the Controller to notify the Host when events occur. The event is specialized to support vendor-specific events.
Trait Implementations§
Auto Trait Implementations§
impl<Vendor> Freeze for Packet<Vendor>where
Vendor: Freeze,
<Vendor as VendorEvent>::Status: Freeze,
<Vendor as VendorEvent>::ReturnParameters: Freeze,
impl<Vendor> RefUnwindSafe for Packet<Vendor>where
Vendor: RefUnwindSafe,
<Vendor as VendorEvent>::Status: RefUnwindSafe,
<Vendor as VendorEvent>::ReturnParameters: RefUnwindSafe,
impl<Vendor> Send for Packet<Vendor>where
Vendor: Send,
<Vendor as VendorEvent>::Status: Send,
<Vendor as VendorEvent>::ReturnParameters: Send,
impl<Vendor> Sync for Packet<Vendor>where
Vendor: Sync,
<Vendor as VendorEvent>::Status: Sync,
<Vendor as VendorEvent>::ReturnParameters: Sync,
impl<Vendor> Unpin for Packet<Vendor>where
Vendor: Unpin,
<Vendor as VendorEvent>::Status: Unpin,
<Vendor as VendorEvent>::ReturnParameters: Unpin,
impl<Vendor> UnwindSafe for Packet<Vendor>where
Vendor: UnwindSafe,
<Vendor as VendorEvent>::Status: UnwindSafe,
<Vendor as VendorEvent>::ReturnParameters: UnwindSafe,
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