pub struct PciBist<'a> { /* private fields */ }
Implementations§
Source§impl<'a> PciBist<'a>
impl<'a> PciBist<'a>
pub fn completion_code(&self) -> PciBitsReadOnly<'a, u8, u8>
pub fn start_bist(&self) -> PciBitReadWrite<'a, u8>
pub fn bist_capable(&self) -> PciBitReadOnly<'a, u8>
Trait Implementations§
Source§impl<'a> AsPciSubregion<'a> for PciBist<'a>
impl<'a> AsPciSubregion<'a> for PciBist<'a>
Source§fn as_subregion(&self) -> PciSubregion<'a>
fn as_subregion(&self) -> PciSubregion<'a>
Returns a
PciSubregion
corresponding to self
.Source§fn subregion(&self, range: impl RangeBounds<u64>) -> PciSubregion<'a>
fn subregion(&self, range: impl RangeBounds<u64>) -> PciSubregion<'a>
Returns a
PciSubregion
corresponding to a range of self
.Source§impl<'a> BackedByPciSubregion<'a> for PciBist<'a>
impl<'a> BackedByPciSubregion<'a> for PciBist<'a>
Source§fn backed_by(as_subregion: impl AsPciSubregion<'a>) -> Self
fn backed_by(as_subregion: impl AsPciSubregion<'a>) -> Self
Does not check whether the subregion is big enough. If it isn’t, accesses may later fail.
Source§impl PciBitFieldReadable for PciBist<'_>
impl PciBitFieldReadable for PciBist<'_>
Source§impl PciBitFieldWriteable for PciBist<'_>
impl PciBitFieldWriteable for PciBist<'_>
impl<'a> Copy for PciBist<'a>
Auto Trait Implementations§
impl<'a> Freeze for PciBist<'a>
impl<'a> !RefUnwindSafe for PciBist<'a>
impl<'a> Send for PciBist<'a>
impl<'a> Sync for PciBist<'a>
impl<'a> Unpin for PciBist<'a>
impl<'a> !UnwindSafe for PciBist<'a>
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<'a, T> PciRegion for T
impl<'a, T> PciRegion for T
Source§fn permissions(&self) -> Permissions
fn permissions(&self) -> Permissions
Whether the region may be read, written, or both.
Source§fn read_bytes(&self, offset: u64, buffer: &mut [u8]) -> Result<(), Error>
fn read_bytes(&self, offset: u64, buffer: &mut [u8]) -> Result<(), Error>
Read from a contiguous range of the region into a byte buffer. Read more