pub enum PacketType {
None,
ESP_PACKET_TYPE_EVENT,
ESP_PRIV_EVENT_INIT,
Hci(HciPkt),
}
Variants§
None
ESP_PACKET_TYPE_EVENT
It appears that this is only used from the Slave
ESP_PRIV_EVENT_INIT
It appears that this is always the type sent by the host.
Hci(HciPkt)
Implementations§
Trait Implementations§
Source§impl Clone for PacketType
impl Clone for PacketType
Source§fn clone(&self) -> PacketType
fn clone(&self) -> PacketType
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 Default for PacketType
impl Default for PacketType
Source§fn default() -> PacketType
fn default() -> PacketType
Returns the “default value” for a type. Read more
Source§impl Format for PacketType
impl Format for PacketType
Source§impl PartialEq for PacketType
impl PartialEq for PacketType
impl Copy for PacketType
impl StructuralPartialEq for PacketType
Auto Trait Implementations§
impl Freeze for PacketType
impl RefUnwindSafe for PacketType
impl Send for PacketType
impl Sync for PacketType
impl Unpin for PacketType
impl UnwindSafe for PacketType
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