pub struct Unknown {
pub address: PciAddress,
pub vendor_id: u16,
pub device_id: u16,
pub command: CommandRegister,
pub status: StatusRegister,
pub has_multiple_functions: bool,
pub device_revision: u8,
pub base_class: u8,
pub sub_class: u8,
pub interface: u8,
pub kind: u8,
}Fields§
§address: PciAddress§vendor_id: u16§device_id: u16§command: CommandRegister§status: StatusRegister§has_multiple_functions: bool§device_revision: u8§base_class: u8§sub_class: u8§interface: u8§kind: u8Implementations§
Source§impl Unknown
impl Unknown
pub fn device_type(&self) -> DeviceType
pub fn update_command<F, C: Chip>(&self, root: &mut RootComplex<C>, f: F)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Unknown
impl RefUnwindSafe for Unknown
impl Send for Unknown
impl Sync for Unknown
impl Unpin for Unknown
impl UnwindSafe for Unknown
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