pub struct ControllerStatus { /* private fields */ }
Implementations§
source§impl ControllerStatus
impl ControllerStatus
sourcepub const fn into_bytes(self) -> [u8; 4]
pub const fn into_bytes(self) -> [u8; 4]
sourcepub const fn from_bytes(bytes: [u8; 4]) -> Self
pub const fn from_bytes(bytes: [u8; 4]) -> Self
Converts the given bytes directly into the bitfield struct.
source§impl ControllerStatus
impl ControllerStatus
sourcepub fn ready_or_err(
&self,
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
pub fn ready_or_err( &self, ) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
Returns the value of ready.
#Errors
If the returned value contains an invalid bit pattern for ready.
sourcepub fn fatal_status(&self) -> <bool as Specifier>::InOut
pub fn fatal_status(&self) -> <bool as Specifier>::InOut
Returns the value of fatal_status.
sourcepub fn fatal_status_or_err(
&self,
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
pub fn fatal_status_or_err( &self, ) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
Returns the value of fatal_status.
#Errors
If the returned value contains an invalid bit pattern for fatal_status.
sourcepub fn shutdown_status(&self) -> <ShutdownStatus as Specifier>::InOut
pub fn shutdown_status(&self) -> <ShutdownStatus as Specifier>::InOut
Returns the value of shutdown_status.
sourcepub fn shutdown_status_or_err(
&self,
) -> Result<<ShutdownStatus as Specifier>::InOut, InvalidBitPattern<<ShutdownStatus as Specifier>::Bytes>>
pub fn shutdown_status_or_err( &self, ) -> Result<<ShutdownStatus as Specifier>::InOut, InvalidBitPattern<<ShutdownStatus as Specifier>::Bytes>>
Returns the value of shutdown_status.
#Errors
If the returned value contains an invalid bit pattern for shutdown_status.
sourcepub fn nvm_subsystem_reset_occurred(&self) -> <bool as Specifier>::InOut
pub fn nvm_subsystem_reset_occurred(&self) -> <bool as Specifier>::InOut
Returns the value of nvm_subsystem_reset_occurred.
sourcepub fn nvm_subsystem_reset_occurred_or_err(
&self,
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
pub fn nvm_subsystem_reset_occurred_or_err( &self, ) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
Returns the value of nvm_subsystem_reset_occurred.
#Errors
If the returned value contains an invalid bit pattern for nvm_subsystem_reset_occurred.
sourcepub fn processing_paused(&self) -> <bool as Specifier>::InOut
pub fn processing_paused(&self) -> <bool as Specifier>::InOut
Returns the value of processing_paused.
sourcepub fn processing_paused_or_err(
&self,
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
pub fn processing_paused_or_err( &self, ) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
Returns the value of processing_paused.
#Errors
If the returned value contains an invalid bit pattern for processing_paused.
sourcepub fn shutdown_type_is_nvm_subsystem(&self) -> <bool as Specifier>::InOut
pub fn shutdown_type_is_nvm_subsystem(&self) -> <bool as Specifier>::InOut
Returns the value of shutdown_type_is_nvm_subsystem.
sourcepub fn shutdown_type_is_nvm_subsystem_or_err(
&self,
) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
pub fn shutdown_type_is_nvm_subsystem_or_err( &self, ) -> Result<<bool as Specifier>::InOut, InvalidBitPattern<<bool as Specifier>::Bytes>>
Returns the value of shutdown_type_is_nvm_subsystem.
#Errors
If the returned value contains an invalid bit pattern for shutdown_type_is_nvm_subsystem.
Trait Implementations§
source§impl Clone for ControllerStatus
impl Clone for ControllerStatus
source§fn clone(&self) -> ControllerStatus
fn clone(&self) -> ControllerStatus
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl From<ControllerStatus> for u32
impl From<ControllerStatus> for u32
source§fn from(__bf_bitfield: ControllerStatus) -> Self
fn from(__bf_bitfield: ControllerStatus) -> Self
source§impl From<u32> for ControllerStatus
impl From<u32> for ControllerStatus
impl Copy for ControllerStatus
Auto Trait Implementations§
impl Freeze for ControllerStatus
impl RefUnwindSafe for ControllerStatus
impl Send for ControllerStatus
impl Sync for ControllerStatus
impl Unpin for ControllerStatus
impl UnwindSafe for ControllerStatus
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
)