pub enum Bar {
MemorySpace(MemorySpace),
IoSpace(IoSpace),
}
Expand description
Enumeration of Base Address Register (BAR) types.
Variants§
Implementations§
source§impl Bar
impl Bar
pub fn try_get_memory_bar(self) -> Option<MemorySpace>
pub fn try_get_io_bar(self) -> Option<IoSpace>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Bar
impl Send for Bar
impl Sync for Bar
impl Unpin for Bar
impl UnwindSafe for Bar
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
const: unstable§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more