Enum stm32wb_hci::host::uart::Packet
source · 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> RefUnwindSafe for Packet<Vendor>where Vendor: RefUnwindSafe, <Vendor as VendorEvent>::ReturnParameters: RefUnwindSafe, <Vendor as VendorEvent>::Status: RefUnwindSafe,
impl<Vendor> Send for Packet<Vendor>where Vendor: Send, <Vendor as VendorEvent>::ReturnParameters: Send, <Vendor as VendorEvent>::Status: Send,
impl<Vendor> Sync for Packet<Vendor>where Vendor: Sync, <Vendor as VendorEvent>::ReturnParameters: Sync, <Vendor as VendorEvent>::Status: Sync,
impl<Vendor> Unpin for Packet<Vendor>where Vendor: Unpin, <Vendor as VendorEvent>::ReturnParameters: Unpin, <Vendor as VendorEvent>::Status: Unpin,
impl<Vendor> UnwindSafe for Packet<Vendor>where Vendor: UnwindSafe, <Vendor as VendorEvent>::ReturnParameters: UnwindSafe, <Vendor as VendorEvent>::Status: 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