pub struct DriverkitTransportPci {
pub pci_match: Option<String>,
pub primary_match: Option<String>,
pub secondary_match: Option<String>,
pub class_match: Option<String>,
}Expand description
Driver Kit Transport PCI
Fields§
§pci_match: Option<String>A key to match PCI devices by vendor and device ID registers or subsystem registers.
This value of this key matches the vendor and device ID (0x00) register, or the subsystem register (0x2c).
§Availability
- macOS 10.15.4+
§Framework
- DriverKit
primary_match: Option<String>A key to match PCI devices by vendor and device ID registers.
This value of this key matches the vendor and device ID (0x00) register.
§Availability
- macOS 10.15.4+
§Framework
- DriverKit
secondary_match: Option<String>A key to match PCI devices by subsystem vendor ID and device ID registers.
This value of this key matches the subsystem register (0x2c).
§Availability
- macOS 10.15.4+
§Framework
- DriverKit
class_match: Option<String>A key to match PCI devices by class code register.
This value of this key matches the class code register (0x08). The default mask for this register is 0xffffff00.
§Availability
- macOS 10.15.4+
§Framework
- DriverKit
Trait Implementations§
Source§impl Clone for DriverkitTransportPci
impl Clone for DriverkitTransportPci
Source§fn clone(&self) -> DriverkitTransportPci
fn clone(&self) -> DriverkitTransportPci
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 Debug for DriverkitTransportPci
impl Debug for DriverkitTransportPci
Source§impl Default for DriverkitTransportPci
impl Default for DriverkitTransportPci
Source§fn default() -> DriverkitTransportPci
fn default() -> DriverkitTransportPci
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DriverkitTransportPci
impl<'de> Deserialize<'de> for DriverkitTransportPci
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DriverkitTransportPci
impl PartialEq for DriverkitTransportPci
Source§impl Serialize for DriverkitTransportPci
impl Serialize for DriverkitTransportPci
impl Eq for DriverkitTransportPci
impl StructuralPartialEq for DriverkitTransportPci
Auto Trait Implementations§
impl Freeze for DriverkitTransportPci
impl RefUnwindSafe for DriverkitTransportPci
impl Send for DriverkitTransportPci
impl Sync for DriverkitTransportPci
impl Unpin for DriverkitTransportPci
impl UnwindSafe for DriverkitTransportPci
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.