Struct windows_sys::Win32::Devices::Usb::USB_BUS_STATISTICS_0
#[repr(C, packed(1))]pub struct USB_BUS_STATISTICS_0 {Show 16 fields
pub DeviceCount: u32,
pub CurrentSystemTime: i64,
pub CurrentUsbFrame: u32,
pub BulkBytes: u32,
pub IsoBytes: u32,
pub InterruptBytes: u32,
pub ControlDataBytes: u32,
pub PciInterruptCount: u32,
pub HardResetCount: u32,
pub WorkerSignalCount: u32,
pub CommonBufferBytes: u32,
pub WorkerIdleTimeMs: u32,
pub RootHubEnabled: BOOLEAN,
pub RootHubDevicePowerState: u8,
pub Unused: u8,
pub NameIndex: u8,
}
Fields§
§DeviceCount: u32
§CurrentSystemTime: i64
§CurrentUsbFrame: u32
§BulkBytes: u32
§IsoBytes: u32
§InterruptBytes: u32
§ControlDataBytes: u32
§PciInterruptCount: u32
§HardResetCount: u32
§WorkerSignalCount: u32
§CommonBufferBytes: u32
§WorkerIdleTimeMs: u32
§RootHubEnabled: BOOLEAN
§RootHubDevicePowerState: u8
§Unused: u8
§NameIndex: u8
Trait Implementations§
§impl Clone for USB_BUS_STATISTICS_0
impl Clone for USB_BUS_STATISTICS_0
§fn clone(&self) -> USB_BUS_STATISTICS_0
fn clone(&self) -> USB_BUS_STATISTICS_0
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 moreimpl Copy for USB_BUS_STATISTICS_0
Auto Trait Implementations§
impl Freeze for USB_BUS_STATISTICS_0
impl RefUnwindSafe for USB_BUS_STATISTICS_0
impl Send for USB_BUS_STATISTICS_0
impl Sync for USB_BUS_STATISTICS_0
impl Unpin for USB_BUS_STATISTICS_0
impl UnwindSafe for USB_BUS_STATISTICS_0
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)