pub struct EmulatedConfig {
pub header: EmulatedHeader,
pub caps: PciCapList,
}Fields§
§header: EmulatedHeader§caps: PciCapListImplementations§
Source§impl EmulatedConfig
impl EmulatedConfig
pub fn new_device( header: DeviceHeader, bars: [PciBar; 6], caps: PciCapList, ) -> EmulatedConfig
Trait Implementations§
Source§impl Debug for EmulatedConfig
impl Debug for EmulatedConfig
Source§impl Mmio for EmulatedConfig
impl Mmio for EmulatedConfig
Source§impl PciConfig for EmulatedConfig
impl PciConfig for EmulatedConfig
fn get_header(&self) -> &EmulatedHeader
fn reset(&self) -> Result<()>
Auto Trait Implementations§
impl Freeze for EmulatedConfig
impl !RefUnwindSafe for EmulatedConfig
impl Send for EmulatedConfig
impl Sync for EmulatedConfig
impl Unpin for EmulatedConfig
impl UnsafeUnpin for EmulatedConfig
impl !UnwindSafe for EmulatedConfig
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