pub struct DeviceBindingTransferStats {
pub host_upload_calls: u64,
pub host_upload_bytes: u64,
pub host_download_calls: u64,
pub host_download_bytes: u64,
}Expand description
Debug counters for host traffic explicitly requested through a persistent device binding.
Fields§
§host_upload_calls: u64§host_upload_bytes: u64§host_download_calls: u64§host_download_bytes: u64Trait Implementations§
Source§impl Clone for DeviceBindingTransferStats
impl Clone for DeviceBindingTransferStats
Source§fn clone(&self) -> DeviceBindingTransferStats
fn clone(&self) -> DeviceBindingTransferStats
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 moreimpl Copy for DeviceBindingTransferStats
Source§impl Debug for DeviceBindingTransferStats
impl Debug for DeviceBindingTransferStats
Source§impl Default for DeviceBindingTransferStats
impl Default for DeviceBindingTransferStats
Source§fn default() -> DeviceBindingTransferStats
fn default() -> DeviceBindingTransferStats
Returns the “default value” for a type. Read more
impl Eq for DeviceBindingTransferStats
impl StructuralPartialEq for DeviceBindingTransferStats
Auto Trait Implementations§
impl Freeze for DeviceBindingTransferStats
impl RefUnwindSafe for DeviceBindingTransferStats
impl Send for DeviceBindingTransferStats
impl Sync for DeviceBindingTransferStats
impl Unpin for DeviceBindingTransferStats
impl UnsafeUnpin for DeviceBindingTransferStats
impl UnwindSafe for DeviceBindingTransferStats
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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