#[repr(C)]pub struct ControllerAttributes { /* private fields */ }
Implementations§
Source§impl ControllerAttributes
impl ControllerAttributes
Sourcepub const fn into_bytes(self) -> [u8; 4]
pub const fn into_bytes(self) -> [u8; 4]
Sourcepub const fn from_bytes(bytes: [u8; 4]) -> Self
pub const fn from_bytes(bytes: [u8; 4]) -> Self
Converts the given bytes directly into the bitfield struct.
Source§impl ControllerAttributes
impl ControllerAttributes
Sourcepub fn host_id_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn host_id_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of host_id.
#Errors
If the returned value contains an invalid bit pattern for host_id.
Sourcepub fn non_op_power_state_permissive_mode(&self) -> <B1 as Specifier>::InOut
pub fn non_op_power_state_permissive_mode(&self) -> <B1 as Specifier>::InOut
Returns the value of non_op_power_state_permissive_mode.
Sourcepub fn non_op_power_state_permissive_mode_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn non_op_power_state_permissive_mode_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of non_op_power_state_permissive_mode.
#Errors
If the returned value contains an invalid bit pattern for non_op_power_state_permissive_mode.
Sourcepub fn nvm_sets_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn nvm_sets_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of nvm_sets.
#Errors
If the returned value contains an invalid bit pattern for nvm_sets.
Sourcepub fn read_recovery_levels(&self) -> <B1 as Specifier>::InOut
pub fn read_recovery_levels(&self) -> <B1 as Specifier>::InOut
Returns the value of read_recovery_levels.
Sourcepub fn read_recovery_levels_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn read_recovery_levels_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of read_recovery_levels.
#Errors
If the returned value contains an invalid bit pattern for read_recovery_levels.
Sourcepub fn endurance_groups(&self) -> <B1 as Specifier>::InOut
pub fn endurance_groups(&self) -> <B1 as Specifier>::InOut
Returns the value of endurance_groups.
Sourcepub fn endurance_groups_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn endurance_groups_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of endurance_groups.
#Errors
If the returned value contains an invalid bit pattern for endurance_groups.
Sourcepub fn predictable_latency_mode(&self) -> <B1 as Specifier>::InOut
pub fn predictable_latency_mode(&self) -> <B1 as Specifier>::InOut
Returns the value of predictable_latency_mode.
Sourcepub fn predictable_latency_mode_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn predictable_latency_mode_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of predictable_latency_mode.
#Errors
If the returned value contains an invalid bit pattern for predictable_latency_mode.
Sourcepub fn traffic_based_keep_alive(&self) -> <B1 as Specifier>::InOut
pub fn traffic_based_keep_alive(&self) -> <B1 as Specifier>::InOut
Returns the value of traffic_based_keep_alive.
Sourcepub fn traffic_based_keep_alive_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn traffic_based_keep_alive_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of traffic_based_keep_alive.
#Errors
If the returned value contains an invalid bit pattern for traffic_based_keep_alive.
Sourcepub fn namespace_granularity(&self) -> <B1 as Specifier>::InOut
pub fn namespace_granularity(&self) -> <B1 as Specifier>::InOut
Returns the value of namespace_granularity.
Sourcepub fn namespace_granularity_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn namespace_granularity_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of namespace_granularity.
#Errors
If the returned value contains an invalid bit pattern for namespace_granularity.
Sourcepub fn sq_associations(&self) -> <B1 as Specifier>::InOut
pub fn sq_associations(&self) -> <B1 as Specifier>::InOut
Returns the value of sq_associations.
Sourcepub fn sq_associations_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn sq_associations_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of sq_associations.
#Errors
If the returned value contains an invalid bit pattern for sq_associations.
Sourcepub fn uuid_list_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn uuid_list_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of uuid_list.
#Errors
If the returned value contains an invalid bit pattern for uuid_list.
Sourcepub fn multi_domain_subsystem(&self) -> <B1 as Specifier>::InOut
pub fn multi_domain_subsystem(&self) -> <B1 as Specifier>::InOut
Returns the value of multi_domain_subsystem.
Sourcepub fn multi_domain_subsystem_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn multi_domain_subsystem_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of multi_domain_subsystem.
#Errors
If the returned value contains an invalid bit pattern for multi_domain_subsystem.
Sourcepub fn fixed_domain_capacity_management(&self) -> <B1 as Specifier>::InOut
pub fn fixed_domain_capacity_management(&self) -> <B1 as Specifier>::InOut
Returns the value of fixed_domain_capacity_management.
Sourcepub fn fixed_domain_capacity_management_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn fixed_domain_capacity_management_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of fixed_domain_capacity_management.
#Errors
If the returned value contains an invalid bit pattern for fixed_domain_capacity_management.
Sourcepub fn variable_capacity_management(&self) -> <B1 as Specifier>::InOut
pub fn variable_capacity_management(&self) -> <B1 as Specifier>::InOut
Returns the value of variable_capacity_management.
Sourcepub fn variable_capacity_management_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn variable_capacity_management_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of variable_capacity_management.
#Errors
If the returned value contains an invalid bit pattern for variable_capacity_management.
Sourcepub fn delete_endurance_group(&self) -> <B1 as Specifier>::InOut
pub fn delete_endurance_group(&self) -> <B1 as Specifier>::InOut
Returns the value of delete_endurance_group.
Sourcepub fn delete_endurance_group_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn delete_endurance_group_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of delete_endurance_group.
#Errors
If the returned value contains an invalid bit pattern for delete_endurance_group.
Sourcepub fn delete_nvm_set(&self) -> <B1 as Specifier>::InOut
pub fn delete_nvm_set(&self) -> <B1 as Specifier>::InOut
Returns the value of delete_nvm_set.
Sourcepub fn delete_nvm_set_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn delete_nvm_set_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of delete_nvm_set.
#Errors
If the returned value contains an invalid bit pattern for delete_nvm_set.
Sourcepub fn extended_lba_formats_supported(&self) -> <B1 as Specifier>::InOut
pub fn extended_lba_formats_supported(&self) -> <B1 as Specifier>::InOut
Returns the value of extended_lba_formats_supported.
Sourcepub fn extended_lba_formats_supported_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn extended_lba_formats_supported_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of extended_lba_formats_supported.
#Errors
If the returned value contains an invalid bit pattern for extended_lba_formats_supported.
Trait Implementations§
Source§impl Clone for ControllerAttributes
impl Clone for ControllerAttributes
Source§fn clone(&self) -> ControllerAttributes
fn clone(&self) -> ControllerAttributes
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more