pub struct NamespaceFeatures { /* private fields */ }
Implementations§
source§impl NamespaceFeatures
impl NamespaceFeatures
sourcepub const fn into_bytes(self) -> [u8; 1]
pub const fn into_bytes(self) -> [u8; 1]
sourcepub const fn from_bytes(bytes: [u8; 1]) -> Self
pub const fn from_bytes(bytes: [u8; 1]) -> Self
Converts the given bytes directly into the bitfield struct.
source§impl NamespaceFeatures
impl NamespaceFeatures
sourcepub fn supports_thin_provisioning(&self) -> <B1 as Specifier>::InOut
pub fn supports_thin_provisioning(&self) -> <B1 as Specifier>::InOut
Returns the value of supports_thin_provisioning.
sourcepub fn supports_thin_provisioning_or_err(
&self
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn supports_thin_provisioning_or_err( &self ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of supports_thin_provisioning.
#Errors
If the returned value contains an invalid bit pattern for supports_thin_provisioning.
sourcepub fn supports_atomic_fields(&self) -> <B1 as Specifier>::InOut
pub fn supports_atomic_fields(&self) -> <B1 as Specifier>::InOut
Returns the value of supports_atomic_fields.
sourcepub fn supports_atomic_fields_or_err(
&self
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn supports_atomic_fields_or_err( &self ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of supports_atomic_fields.
#Errors
If the returned value contains an invalid bit pattern for supports_atomic_fields.
sourcepub fn supports_dealloc_lb_err(&self) -> <B1 as Specifier>::InOut
pub fn supports_dealloc_lb_err(&self) -> <B1 as Specifier>::InOut
Returns the value of supports_dealloc_lb_err.
sourcepub fn supports_dealloc_lb_err_or_err(
&self
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn supports_dealloc_lb_err_or_err( &self ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of supports_dealloc_lb_err.
#Errors
If the returned value contains an invalid bit pattern for supports_dealloc_lb_err.
sourcepub fn uid_reuse_or_err(
&self
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn uid_reuse_or_err( &self ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of uid_reuse.
#Errors
If the returned value contains an invalid bit pattern for uid_reuse.
sourcepub fn opt_perf_or_err(
&self
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn opt_perf_or_err( &self ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of opt_perf.
#Errors
If the returned value contains an invalid bit pattern for opt_perf.
Trait Implementations§
source§impl Clone for NamespaceFeatures
impl Clone for NamespaceFeatures
source§fn clone(&self) -> NamespaceFeatures
fn clone(&self) -> NamespaceFeatures
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more