Skip to main content

BusSchemeServer

Struct BusSchemeServer 

Source
pub struct BusSchemeServer<D: BusDriver> { /* private fields */ }

Implementations§

Source§

impl<D: BusDriver> BusSchemeServer<D>

Source

pub fn new(driver: D, port_handle: u64) -> Self

Creates a new instance.

Source

pub fn with_pci_cache(self, cache: Vec<PciDeviceInfo>) -> Self

Performs the with pci cache operation.

Source

pub fn refresh_pci_cache(&mut self)

Performs the refresh pci cache operation.

Source

pub fn serve(&mut self) -> !

Performs the serve operation.

Auto Trait Implementations§

§

impl<D> Freeze for BusSchemeServer<D>
where D: Freeze,

§

impl<D> RefUnwindSafe for BusSchemeServer<D>
where D: RefUnwindSafe,

§

impl<D> Send for BusSchemeServer<D>

§

impl<D> Sync for BusSchemeServer<D>

§

impl<D> Unpin for BusSchemeServer<D>
where D: Unpin,

§

impl<D> UnsafeUnpin for BusSchemeServer<D>
where D: UnsafeUnpin,

§

impl<D> UnwindSafe for BusSchemeServer<D>
where D: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.