pub struct BleStatsSnapshot {Show 14 fields
pub packets_sent: u64,
pub bytes_sent: u64,
pub packets_recv: u64,
pub bytes_recv: u64,
pub send_errors: u64,
pub recv_errors: u64,
pub mtu_exceeded: u64,
pub connections_established: u64,
pub connections_accepted: u64,
pub connections_rejected: u64,
pub connect_timeouts: u64,
pub pool_evictions: u64,
pub advertisements_sent: u64,
pub scan_results: u64,
}Expand description
Point-in-time snapshot of BLE stats (non-atomic, copyable).
Fields§
§packets_sent: u64§bytes_sent: u64§packets_recv: u64§bytes_recv: u64§send_errors: u64§recv_errors: u64§mtu_exceeded: u64§connections_established: u64§connections_accepted: u64§connections_rejected: u64§connect_timeouts: u64§pool_evictions: u64§advertisements_sent: u64§scan_results: u64Trait Implementations§
Source§impl Clone for BleStatsSnapshot
impl Clone for BleStatsSnapshot
Source§fn clone(&self) -> BleStatsSnapshot
fn clone(&self) -> BleStatsSnapshot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 BleStatsSnapshot
impl Debug for BleStatsSnapshot
Source§impl Default for BleStatsSnapshot
impl Default for BleStatsSnapshot
Source§fn default() -> BleStatsSnapshot
fn default() -> BleStatsSnapshot
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BleStatsSnapshot
impl RefUnwindSafe for BleStatsSnapshot
impl Send for BleStatsSnapshot
impl Sync for BleStatsSnapshot
impl Unpin for BleStatsSnapshot
impl UnsafeUnpin for BleStatsSnapshot
impl UnwindSafe for BleStatsSnapshot
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more