pub struct PcieGeneric { /* private fields */ }Implementations§
Source§impl PcieGeneric
impl PcieGeneric
pub fn new(mmio_base: NonNull<u8>) -> PcieGeneric
Trait Implementations§
Source§impl DriverGeneric for PcieGeneric
impl DriverGeneric for PcieGeneric
fn open(&mut self) -> Result<(), KError>
fn close(&mut self) -> Result<(), KError>
Source§fn raw_any(&self) -> Option<&(dyn Any + 'static)>
fn raw_any(&self) -> Option<&(dyn Any + 'static)>
Subtype casting support, returns subtype as
&dyn AnySource§fn raw_any_mut(&mut self) -> Option<&mut (dyn Any + 'static)>
fn raw_any_mut(&mut self) -> Option<&mut (dyn Any + 'static)>
Subtype casting support, returns subtype as
&mut dyn AnySource§impl Interface for PcieGeneric
impl Interface for PcieGeneric
impl Send for PcieGeneric
Auto Trait Implementations§
impl Freeze for PcieGeneric
impl RefUnwindSafe for PcieGeneric
impl !Sync for PcieGeneric
impl Unpin for PcieGeneric
impl UnwindSafe for PcieGeneric
Blanket Implementations§
Source§impl<T> Background for T
impl<T> Background for T
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