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 more