pub struct NamespaceFeatures {
pub supports_atomic_transaction_size: Option<bool>,
pub supports_deallocated_or_unwritten_lb_error: Option<bool>,
pub supports_io_performance_hints: Option<bool>,
pub supports_nguid_reuse: Option<bool>,
pub supports_thin_provisioning: Option<bool>,
}
Fields§
§supports_atomic_transaction_size: Option<bool>
Indicates that the NVM fields for Namespace preferred write granularity (NPWG), write alignment (NPWA), deallocate granularity (NPDG), deallocate alignment (NPDA) and optimal write size (NOWS) are defined for this namespace and should be used by the host for I/O optimization.
supports_deallocated_or_unwritten_lb_error: Option<bool>
This property indicates that the controller supports deallocated or unwritten logical block error for this namespace.
supports_io_performance_hints: Option<bool>
Indicates that the Namespace Atomic Write Unit Normal (NAWUN), Namespace Atomic Write Unit Power Fail (NAWUPF), and Namespace Atomic Compare and Write Unit (NACWU) fields are defined for this namespace and should be used by the host for this namespace instead of the controller-level properties AWUN, AWUPF, and ACWU.
supports_nguid_reuse: Option<bool>
This property indicates that the namespace supports the use of an NGUID (namespace globally unique identifier) value.
supports_thin_provisioning: Option<bool>
This property indicates whether or not the NVMe Namespace supports thin provisioning.
Trait Implementations§
Source§impl Clone for NamespaceFeatures
impl Clone for NamespaceFeatures
Source§fn clone(&self) -> NamespaceFeatures
fn clone(&self) -> NamespaceFeatures
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
source
. Read more