nvme::ds::controller::properties

Struct ControllerProperties

source
#[repr(C)]
pub struct ControllerProperties {
Show 28 fields pub capabilities: ControllerCap, pub version: u32, pub int_mask_set: u32, pub int_mask_clear: u32, pub configuration: ControllerConfig, pub status: ControllerStatus, pub nvm_subsystem_reset: u32, pub admin_queue_attr: AdminQueueAttributes, pub admin_subqueue_base_addr: u64, pub admin_comqueue_base_addr: u64, pub memory_buffer_location: u32, pub memory_buffer_size: u32, pub boot_partition_info: u32, pub boot_partition_read_select: u32, pub boot_partition_memory_buffer_location: u64, pub memory_buffer_memory_space_control: u64, pub memory_buffer_status: u32, pub memory_buffer_elasticity_buffer_size: u32, pub memory_buffer_sustained_write_throughput: u32, pub nvm_subsystem_shutdown: u32, pub controller_ready_timeouts: u32, pub pmem_capabilities: u32, pub pmem_region_control: u32, pub pmem_region_status: u32, pub pmem_region_elasticity_buffer_size: u32, pub pmem_region_sustained_write_throughput: u32, pub pmem_region_controller_mem_space_control_lower: u32, pub pmem_region_controller_mem_space_control_upper: u32, /* private fields */
}

Fields§

§capabilities: ControllerCap§version: u32§int_mask_set: u32§int_mask_clear: u32§configuration: ControllerConfig§status: ControllerStatus§nvm_subsystem_reset: u32§admin_queue_attr: AdminQueueAttributes§admin_subqueue_base_addr: u64§admin_comqueue_base_addr: u64§memory_buffer_location: u32§memory_buffer_size: u32§boot_partition_info: u32§boot_partition_read_select: u32§boot_partition_memory_buffer_location: u64§memory_buffer_memory_space_control: u64§memory_buffer_status: u32§memory_buffer_elasticity_buffer_size: u32§memory_buffer_sustained_write_throughput: u32§nvm_subsystem_shutdown: u32§controller_ready_timeouts: u32§pmem_capabilities: u32§pmem_region_control: u32§pmem_region_status: u32§pmem_region_elasticity_buffer_size: u32§pmem_region_sustained_write_throughput: u32§pmem_region_controller_mem_space_control_lower: u32§pmem_region_controller_mem_space_control_upper: u32

Implementations§

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.