pub enum AddressSpace {
Show 13 variants
SystemMemory,
SystemIo,
PciConfigSpace,
EmbeddedController,
SMBus,
SystemCmos,
PciBarTarget,
Ipmi,
GeneralIo,
GenericSerialBus,
PlatformCommunicationsChannel,
FunctionalFixedHardware,
OemDefined(u8),
}Variants§
SystemMemory
SystemIo
PciConfigSpace
Describes a register in the configuration space of a PCI device in segment 0, on bus 0. The address
field is of the format:
ⓘ
64 48 32 16 0
+---------------+---------------+---------------+---------------+
| reserved (0) | device | function | offset |
+---------------+---------------+---------------+---------------+EmbeddedController
SMBus
SystemCmos
PciBarTarget
Ipmi
GeneralIo
GenericSerialBus
PlatformCommunicationsChannel
FunctionalFixedHardware
OemDefined(u8)
Trait Implementations§
Source§impl Clone for AddressSpace
impl Clone for AddressSpace
Source§fn clone(&self) -> AddressSpace
fn clone(&self) -> AddressSpace
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AddressSpace
impl Debug for AddressSpace
Source§impl PartialEq for AddressSpace
impl PartialEq for AddressSpace
impl Copy for AddressSpace
impl Eq for AddressSpace
impl StructuralPartialEq for AddressSpace
Auto Trait Implementations§
impl Freeze for AddressSpace
impl RefUnwindSafe for AddressSpace
impl Send for AddressSpace
impl Sync for AddressSpace
impl Unpin for AddressSpace
impl UnwindSafe for AddressSpace
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,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)