Struct windows_sys::Win32::Devices::Usb::USB_CONNECTION_NOTIFICATION
#[repr(C, packed(1))]pub struct USB_CONNECTION_NOTIFICATION {
pub NotificationType: USB_NOTIFICATION_TYPE,
pub ConnectionNumber: u32,
pub RequestedBandwidth: u32,
pub EnumerationFailReason: u32,
pub PowerRequested: u32,
pub HubNameLength: u32,
}
Fields§
§NotificationType: USB_NOTIFICATION_TYPE
§ConnectionNumber: u32
§RequestedBandwidth: u32
§EnumerationFailReason: u32
§PowerRequested: u32
§HubNameLength: u32
Trait Implementations§
§impl Clone for USB_CONNECTION_NOTIFICATION
impl Clone for USB_CONNECTION_NOTIFICATION
§fn clone(&self) -> USB_CONNECTION_NOTIFICATION
fn clone(&self) -> USB_CONNECTION_NOTIFICATION
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_CONNECTION_NOTIFICATION
Auto Trait Implementations§
impl Freeze for USB_CONNECTION_NOTIFICATION
impl RefUnwindSafe for USB_CONNECTION_NOTIFICATION
impl Send for USB_CONNECTION_NOTIFICATION
impl Sync for USB_CONNECTION_NOTIFICATION
impl Unpin for USB_CONNECTION_NOTIFICATION
impl UnwindSafe for USB_CONNECTION_NOTIFICATION
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
)