pub struct ConnHandleCompletedPackets(/* private fields */);
Expand description
ConnHandleCompletedPackets
Implementations§
Source§impl ConnHandleCompletedPackets
impl ConnHandleCompletedPackets
Sourcepub fn handle(&self) -> Result<ConnHandle, FromHciBytesError>
pub fn handle(&self) -> Result<ConnHandle, FromHciBytesError>
Get value of handle
Sourcepub fn num_completed_packets(&self) -> Result<u16, FromHciBytesError>
pub fn num_completed_packets(&self) -> Result<u16, FromHciBytesError>
Get value of num_completed_packets
Source§impl ConnHandleCompletedPackets
impl ConnHandleCompletedPackets
Sourcepub fn new(handle: ConnHandle, num_completed_packets: u16) -> Self
pub fn new(handle: ConnHandle, num_completed_packets: u16) -> Self
Create a new instance.
Trait Implementations§
Source§impl Clone for ConnHandleCompletedPackets
impl Clone for ConnHandleCompletedPackets
Source§fn clone(&self) -> ConnHandleCompletedPackets
fn clone(&self) -> ConnHandleCompletedPackets
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 ConnHandleCompletedPackets
impl Debug for ConnHandleCompletedPackets
Source§impl Default for ConnHandleCompletedPackets
impl Default for ConnHandleCompletedPackets
Source§fn default() -> ConnHandleCompletedPackets
fn default() -> ConnHandleCompletedPackets
Returns the “default value” for a type. Read more
Source§impl Hash for ConnHandleCompletedPackets
impl Hash for ConnHandleCompletedPackets
Source§impl Ord for ConnHandleCompletedPackets
impl Ord for ConnHandleCompletedPackets
Source§fn cmp(&self, other: &ConnHandleCompletedPackets) -> Ordering
fn cmp(&self, other: &ConnHandleCompletedPackets) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for ConnHandleCompletedPackets
impl PartialOrd for ConnHandleCompletedPackets
impl Copy for ConnHandleCompletedPackets
impl Eq for ConnHandleCompletedPackets
impl StructuralPartialEq for ConnHandleCompletedPackets
Auto Trait Implementations§
impl Freeze for ConnHandleCompletedPackets
impl RefUnwindSafe for ConnHandleCompletedPackets
impl Send for ConnHandleCompletedPackets
impl Sync for ConnHandleCompletedPackets
impl Unpin for ConnHandleCompletedPackets
impl UnwindSafe for ConnHandleCompletedPackets
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