#[repr(C)]pub struct MultipathIONamespaceSharingCaps { /* private fields */ }
Implementations§
source§impl MultipathIONamespaceSharingCaps
impl MultipathIONamespaceSharingCaps
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 MultipathIONamespaceSharingCaps
impl MultipathIONamespaceSharingCaps
sourcepub fn nvm_sub_multiple(&self) -> <B1 as Specifier>::InOut
pub fn nvm_sub_multiple(&self) -> <B1 as Specifier>::InOut
Returns the value of nvm_sub_multiple.
sourcepub fn nvm_sub_multiple_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn nvm_sub_multiple_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of nvm_sub_multiple.
#Errors
If the returned value contains an invalid bit pattern for nvm_sub_multiple.
sourcepub fn nvm_sub_two_or_more(&self) -> <B1 as Specifier>::InOut
pub fn nvm_sub_two_or_more(&self) -> <B1 as Specifier>::InOut
Returns the value of nvm_sub_two_or_more.
sourcepub fn nvm_sub_two_or_more_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn nvm_sub_two_or_more_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of nvm_sub_two_or_more.
#Errors
If the returned value contains an invalid bit pattern for nvm_sub_two_or_more.
sourcepub fn sriov_controller(&self) -> <B1 as Specifier>::InOut
pub fn sriov_controller(&self) -> <B1 as Specifier>::InOut
Returns the value of sriov_controller.
sourcepub fn sriov_controller_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn sriov_controller_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of sriov_controller.
#Errors
If the returned value contains an invalid bit pattern for sriov_controller.
sourcepub fn asym_namespace_access_reporting(&self) -> <B1 as Specifier>::InOut
pub fn asym_namespace_access_reporting(&self) -> <B1 as Specifier>::InOut
Returns the value of asym_namespace_access_reporting.
sourcepub fn asym_namespace_access_reporting_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn asym_namespace_access_reporting_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of asym_namespace_access_reporting.
#Errors
If the returned value contains an invalid bit pattern for asym_namespace_access_reporting.
Trait Implementations§
source§impl CheckFillsUnalignedBits for MultipathIONamespaceSharingCaps
impl CheckFillsUnalignedBits for MultipathIONamespaceSharingCaps
source§impl Clone for MultipathIONamespaceSharingCaps
impl Clone for MultipathIONamespaceSharingCaps
source§fn clone(&self) -> MultipathIONamespaceSharingCaps
fn clone(&self) -> MultipathIONamespaceSharingCaps
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for MultipathIONamespaceSharingCaps
impl Default for MultipathIONamespaceSharingCaps
source§fn default() -> MultipathIONamespaceSharingCaps
fn default() -> MultipathIONamespaceSharingCaps
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MultipathIONamespaceSharingCaps
impl RefUnwindSafe for MultipathIONamespaceSharingCaps
impl Send for MultipathIONamespaceSharingCaps
impl Sync for MultipathIONamespaceSharingCaps
impl Unpin for MultipathIONamespaceSharingCaps
impl UnwindSafe for MultipathIONamespaceSharingCaps
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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)