pub struct KernelPnpEvent {
pub timestamp: String,
pub event_id: u32,
pub device_instance_id: String,
pub driver_name: Option<String>,
}Expand description
A decoded USB Kernel-PnP configuration event.
Fields§
§timestamp: StringSystem/TimeCreated in ISO-8601 UTC — the record’s time.
event_id: u32The configuration Event ID (400 started / 410 migrated / 430 installed).
device_instance_id: StringEventData/DeviceInstanceId, e.g. USB\VID_0781&PID_5597\4C530000261130109435.
driver_name: Option<String>EventData/DriverName when present (e.g. usbstor.inf) — context for the locator.
Trait Implementations§
Source§impl Clone for KernelPnpEvent
impl Clone for KernelPnpEvent
Source§fn clone(&self) -> KernelPnpEvent
fn clone(&self) -> KernelPnpEvent
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 KernelPnpEvent
impl Debug for KernelPnpEvent
impl Eq for KernelPnpEvent
Source§impl PartialEq for KernelPnpEvent
impl PartialEq for KernelPnpEvent
impl StructuralPartialEq for KernelPnpEvent
Auto Trait Implementations§
impl Freeze for KernelPnpEvent
impl RefUnwindSafe for KernelPnpEvent
impl Send for KernelPnpEvent
impl Sync for KernelPnpEvent
impl Unpin for KernelPnpEvent
impl UnsafeUnpin for KernelPnpEvent
impl UnwindSafe for KernelPnpEvent
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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