pub struct ExtSriovVfBar {
pub address: u64,
pub is_64bit: bool,
}Expand description
A decoded VF BAR register encoding.
Fields§
§address: u64The PCI bus address encoded by the BAR, without PCI attribute bits.
This is not necessarily the CPU resource address.
is_64bit: boolWhether the BAR is 64-bit.
Trait Implementations§
Source§impl Clone for ExtSriovVfBar
impl Clone for ExtSriovVfBar
impl Copy for ExtSriovVfBar
Source§impl Debug for ExtSriovVfBar
impl Debug for ExtSriovVfBar
impl Eq for ExtSriovVfBar
Source§impl PartialEq for ExtSriovVfBar
impl PartialEq for ExtSriovVfBar
impl StructuralPartialEq for ExtSriovVfBar
Auto Trait Implementations§
impl Freeze for ExtSriovVfBar
impl RefUnwindSafe for ExtSriovVfBar
impl Send for ExtSriovVfBar
impl Sync for ExtSriovVfBar
impl Unpin for ExtSriovVfBar
impl UnsafeUnpin for ExtSriovVfBar
impl UnwindSafe for ExtSriovVfBar
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<S, T> IntoSafeCast<T> for Swhere
T: FromSafeCast<S>,
impl<S, T> IntoSafeCast<T> for Swhere
T: FromSafeCast<S>,
Source§fn into_safe_cast(self) -> T
fn into_safe_cast(self) -> T
Convert
self into a T. This operation is guaranteed to be lossless.Source§impl<S, T> IntoSafeCastArch<T> for Swhere
T: FromSafeCastArch<S>,
impl<S, T> IntoSafeCastArch<T> for Swhere
T: FromSafeCastArch<S>,
Source§fn into_safe_cast_arch(self) -> T
fn into_safe_cast_arch(self) -> T
Convert
self into a T. This operation is guaranteed to be lossless.