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
pub fn new(items: impl Iterator<Item = NumberOfCompletedPacketsPair>) -> Self
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 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 Debug for NumberOfCompletedPackets
impl Debug for NumberOfCompletedPackets
impl Copy for NumberOfCompletedPackets
Auto Trait Implementations§
impl Freeze for NumberOfCompletedPackets
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