Enum protos::plugin::AddressSpace
source · pub enum AddressSpace {
IOPORT = 0,
MMIO = 1,
}
Variants§
Implementations§
source§impl AddressSpace
impl AddressSpace
fn generated_enum_descriptor_data() -> GeneratedEnumDescriptorData
Trait Implementations§
source§impl Clone for AddressSpace
impl Clone for AddressSpace
source§fn clone(&self) -> AddressSpace
fn clone(&self) -> AddressSpace
Returns a copy of the value. Read more
1.0.0 · source§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 Default for AddressSpace
impl Default for AddressSpace
source§impl Enum for AddressSpace
impl Enum for AddressSpace
source§fn from_i32(value: i32) -> Option<AddressSpace>
fn from_i32(value: i32) -> Option<AddressSpace>
Try to create an enum from
i32
value.
Return None
if value is unknown.source§fn from_str(str: &str) -> Option<AddressSpace>
fn from_str(str: &str) -> Option<AddressSpace>
Try to create an enum from
&str
value.
Return None
if str is unknown.source§const VALUES: &'static [AddressSpace] = _
const VALUES: &'static [AddressSpace] = _
All enum values for enum type.
source§impl EnumFull for AddressSpace
impl EnumFull for AddressSpace
source§fn enum_descriptor() -> EnumDescriptor
fn enum_descriptor() -> EnumDescriptor
Get enum descriptor by type.
source§fn descriptor(&self) -> EnumValueDescriptor
fn descriptor(&self) -> EnumValueDescriptor
Get enum value descriptor.
source§impl Hash for AddressSpace
impl Hash for AddressSpace
source§impl PartialEq for AddressSpace
impl PartialEq for AddressSpace
source§fn eq(&self, other: &AddressSpace) -> bool
fn eq(&self, other: &AddressSpace) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for AddressSpace
impl Eq for AddressSpace
impl StructuralPartialEq for AddressSpace
Auto Trait Implementations§
impl RefUnwindSafe for AddressSpace
impl Send for AddressSpace
impl Sync for AddressSpace
impl Unpin for AddressSpace
impl UnwindSafe for AddressSpace
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