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 moresource§impl Debug for NamespaceFeatures
impl Debug for NamespaceFeatures
source§impl Default for NamespaceFeatures
impl Default for NamespaceFeatures
source§fn default() -> NamespaceFeatures
fn default() -> NamespaceFeatures
Auto Trait Implementations§
impl Freeze for NamespaceFeatures
impl RefUnwindSafe for NamespaceFeatures
impl Send for NamespaceFeatures
impl Sync for NamespaceFeatures
impl Unpin for NamespaceFeatures
impl UnwindSafe for NamespaceFeatures
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)