pub struct OptionalAdminCommandSupport { /* private fields */ }
Implementations§
Source§impl OptionalAdminCommandSupport
impl OptionalAdminCommandSupport
Sourcepub const fn into_bytes(self) -> [u8; 2]
pub const fn into_bytes(self) -> [u8; 2]
Sourcepub const fn from_bytes(bytes: [u8; 2]) -> Self
pub const fn from_bytes(bytes: [u8; 2]) -> Self
Converts the given bytes directly into the bitfield struct.
Source§impl OptionalAdminCommandSupport
impl OptionalAdminCommandSupport
Sourcepub fn security_send_and_recv(&self) -> <B1 as Specifier>::InOut
pub fn security_send_and_recv(&self) -> <B1 as Specifier>::InOut
Returns the value of security_send_and_recv.
Sourcepub fn security_send_and_recv_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn security_send_and_recv_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of security_send_and_recv.
#Errors
If the returned value contains an invalid bit pattern for security_send_and_recv.
Sourcepub fn format_nvm(&self) -> <B1 as Specifier>::InOut
pub fn format_nvm(&self) -> <B1 as Specifier>::InOut
Returns the value of format_nvm.
Sourcepub fn format_nvm_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn format_nvm_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of format_nvm.
#Errors
If the returned value contains an invalid bit pattern for format_nvm.
Sourcepub fn firmware_download_and_commit(&self) -> <B1 as Specifier>::InOut
pub fn firmware_download_and_commit(&self) -> <B1 as Specifier>::InOut
Returns the value of firmware_download_and_commit.
Sourcepub fn firmware_download_and_commit_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn firmware_download_and_commit_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of firmware_download_and_commit.
#Errors
If the returned value contains an invalid bit pattern for firmware_download_and_commit.
Sourcepub fn namespace_management(&self) -> <B1 as Specifier>::InOut
pub fn namespace_management(&self) -> <B1 as Specifier>::InOut
Returns the value of namespace_management.
Sourcepub fn namespace_management_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn namespace_management_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of namespace_management.
#Errors
If the returned value contains an invalid bit pattern for namespace_management.
Sourcepub fn device_self_test(&self) -> <B1 as Specifier>::InOut
pub fn device_self_test(&self) -> <B1 as Specifier>::InOut
Returns the value of device_self_test.
Sourcepub fn device_self_test_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn device_self_test_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of device_self_test.
#Errors
If the returned value contains an invalid bit pattern for device_self_test.
Sourcepub fn directives(&self) -> <B1 as Specifier>::InOut
pub fn directives(&self) -> <B1 as Specifier>::InOut
Returns the value of directives.
Sourcepub fn directives_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn directives_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of directives.
#Errors
If the returned value contains an invalid bit pattern for directives.
Sourcepub fn nvme_mi_send_and_recv(&self) -> <B1 as Specifier>::InOut
pub fn nvme_mi_send_and_recv(&self) -> <B1 as Specifier>::InOut
Returns the value of nvme_mi_send_and_recv.
Sourcepub fn nvme_mi_send_and_recv_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn nvme_mi_send_and_recv_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of nvme_mi_send_and_recv.
#Errors
If the returned value contains an invalid bit pattern for nvme_mi_send_and_recv.
Sourcepub fn virtualization_management(&self) -> <B1 as Specifier>::InOut
pub fn virtualization_management(&self) -> <B1 as Specifier>::InOut
Returns the value of virtualization_management.
Sourcepub fn virtualization_management_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn virtualization_management_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of virtualization_management.
#Errors
If the returned value contains an invalid bit pattern for virtualization_management.
Sourcepub fn doorbell_buffer_config(&self) -> <B1 as Specifier>::InOut
pub fn doorbell_buffer_config(&self) -> <B1 as Specifier>::InOut
Returns the value of doorbell_buffer_config.
Sourcepub fn doorbell_buffer_config_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn doorbell_buffer_config_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of doorbell_buffer_config.
#Errors
If the returned value contains an invalid bit pattern for doorbell_buffer_config.
Sourcepub fn get_lba_status(&self) -> <B1 as Specifier>::InOut
pub fn get_lba_status(&self) -> <B1 as Specifier>::InOut
Returns the value of get_lba_status.
Sourcepub fn get_lba_status_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn get_lba_status_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of get_lba_status.
#Errors
If the returned value contains an invalid bit pattern for get_lba_status.
Sourcepub fn command_and_feature_lockdown(&self) -> <B1 as Specifier>::InOut
pub fn command_and_feature_lockdown(&self) -> <B1 as Specifier>::InOut
Returns the value of command_and_feature_lockdown.
Sourcepub fn command_and_feature_lockdown_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn command_and_feature_lockdown_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of command_and_feature_lockdown.
#Errors
If the returned value contains an invalid bit pattern for command_and_feature_lockdown.
Trait Implementations§
Source§impl Clone for OptionalAdminCommandSupport
impl Clone for OptionalAdminCommandSupport
Source§fn clone(&self) -> OptionalAdminCommandSupport
fn clone(&self) -> OptionalAdminCommandSupport
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more