#[repr(C, packed(1))]pub struct USB_CONNECTION_NOTIFICATION {
pub NotificationType: USB_NOTIFICATION_TYPE,
pub ConnectionNumber: ULONG,
pub RequestedBandwidth: ULONG,
pub EnumerationFailReason: ULONG,
pub PowerRequested: ULONG,
pub HubNameLength: ULONG,
}
Fields§
§NotificationType: USB_NOTIFICATION_TYPE
§ConnectionNumber: ULONG
§RequestedBandwidth: ULONG
§EnumerationFailReason: ULONG
§PowerRequested: ULONG
§HubNameLength: ULONG
Trait Implementations§
Source§impl Clone for USB_CONNECTION_NOTIFICATION
impl Clone for USB_CONNECTION_NOTIFICATION
Source§fn clone(&self) -> USB_CONNECTION_NOTIFICATION
fn clone(&self) -> USB_CONNECTION_NOTIFICATION
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 Default for USB_CONNECTION_NOTIFICATION
impl Default for USB_CONNECTION_NOTIFICATION
Source§fn default() -> USB_CONNECTION_NOTIFICATION
fn default() -> USB_CONNECTION_NOTIFICATION
Returns the “default value” for a type. Read more
impl 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