pub enum HciEvent<'a> {
CommandComplete {
n_cmd: u8,
opcode: u16,
status: u8,
rest: &'a [u8],
},
AdvertisingReport {
reports: Vec<AdvReport<'a>, MAX_NUM_ADV_REPS>,
},
Unknown {
evt: u8,
params: &'a [u8],
},
}
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for HciEvent<'a>
impl<'a> RefUnwindSafe for HciEvent<'a>
impl<'a> Send for HciEvent<'a>
impl<'a> Sync for HciEvent<'a>
impl<'a> Unpin for HciEvent<'a>
impl<'a> UnwindSafe for HciEvent<'a>
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