Struct stm32wb_hci::event::NumberOfCompletedPackets
source · pub struct NumberOfCompletedPackets { /* private fields */ }Expand description
The Number of Completed Packets event is used by the
Controller to indicate to the Host how many HCI Data Packets have been completed (transmitted or
flushed) for each connection handle since the previous Number Of Completed Packets event was
sent to the Host.
Defined in Vol 2, Part E, Section 7.7.19 of the spec.
Implementations§
source§impl NumberOfCompletedPackets
impl NumberOfCompletedPackets
sourcepub fn iter(&self) -> NumberOfCompletedPacketsIterator<'_> ⓘ
pub fn iter(&self) -> NumberOfCompletedPacketsIterator<'_> ⓘ
Returns an iterator over the connection handle-number of completed packet pairs.
Trait Implementations§
source§impl Clone for NumberOfCompletedPackets
impl Clone for NumberOfCompletedPackets
source§fn clone(&self) -> NumberOfCompletedPackets
fn clone(&self) -> NumberOfCompletedPackets
Returns a copy 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 Debug for NumberOfCompletedPackets
impl Debug for NumberOfCompletedPackets
impl Copy for NumberOfCompletedPackets
Auto Trait Implementations§
impl RefUnwindSafe for NumberOfCompletedPackets
impl Send for NumberOfCompletedPackets
impl Sync for NumberOfCompletedPackets
impl Unpin for NumberOfCompletedPackets
impl UnwindSafe for NumberOfCompletedPackets
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