pub struct LogPageAttributes { /* private fields */ }Implementations§
Source§impl LogPageAttributes
impl LogPageAttributes
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 LogPageAttributes
impl LogPageAttributes
Sourcepub fn per_namespace_smart_log(&self) -> <B1 as Specifier>::InOut
pub fn per_namespace_smart_log(&self) -> <B1 as Specifier>::InOut
Returns the value of per_namespace_smart_log.
Sourcepub fn per_namespace_smart_log_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn per_namespace_smart_log_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of per_namespace_smart_log.
§Errors
If the returned value contains an invalid bit pattern for per_namespace_smart_log.
Sourcepub fn commands_supported_and_effects(&self) -> <B1 as Specifier>::InOut
pub fn commands_supported_and_effects(&self) -> <B1 as Specifier>::InOut
Returns the value of commands_supported_and_effects.
Sourcepub fn commands_supported_and_effects_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn commands_supported_and_effects_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of commands_supported_and_effects.
§Errors
If the returned value contains an invalid bit pattern for commands_supported_and_effects.
Sourcepub fn get_log_page(&self) -> <B1 as Specifier>::InOut
pub fn get_log_page(&self) -> <B1 as Specifier>::InOut
Returns the value of get_log_page.
Sourcepub fn get_log_page_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn get_log_page_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of get_log_page.
§Errors
If the returned value contains an invalid bit pattern for get_log_page.
Sourcepub fn telemetry_host_initiated(&self) -> <B1 as Specifier>::InOut
pub fn telemetry_host_initiated(&self) -> <B1 as Specifier>::InOut
Returns the value of telemetry_host_initiated.
Sourcepub fn telemetry_host_initiated_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn telemetry_host_initiated_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of telemetry_host_initiated.
§Errors
If the returned value contains an invalid bit pattern for telemetry_host_initiated.
Sourcepub fn persistent_event_log(&self) -> <B1 as Specifier>::InOut
pub fn persistent_event_log(&self) -> <B1 as Specifier>::InOut
Returns the value of persistent_event_log.
Sourcepub fn persistent_event_log_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn persistent_event_log_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of persistent_event_log.
§Errors
If the returned value contains an invalid bit pattern for persistent_event_log.
Sourcepub fn supported_effects_features_and_nvme_mi(&self) -> <B1 as Specifier>::InOut
pub fn supported_effects_features_and_nvme_mi(&self) -> <B1 as Specifier>::InOut
Returns the value of supported_effects_features_and_nvme_mi.
Sourcepub fn supported_effects_features_and_nvme_mi_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn supported_effects_features_and_nvme_mi_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of supported_effects_features_and_nvme_mi.
§Errors
If the returned value contains an invalid bit pattern for supported_effects_features_and_nvme_mi.
Sourcepub fn data_area_4(&self) -> <B1 as Specifier>::InOut
pub fn data_area_4(&self) -> <B1 as Specifier>::InOut
Returns the value of data_area_4.
Sourcepub fn data_area_4_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn data_area_4_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of data_area_4.
§Errors
If the returned value contains an invalid bit pattern for data_area_4.
Trait Implementations§
Source§impl CheckFillsUnalignedBits for LogPageAttributes
impl CheckFillsUnalignedBits for LogPageAttributes
type CheckType = BitCount<#[derive(Default, Clone, Debug)] pub struct LogPageAttributes { #[skip(setters)] pub per_namespace_smart_log: B1, #[skip(setters)] pub commands_supported_and_effects: B1, #[skip(setters)] pub get_log_page: B1, #[skip(setters)] pub telemetry_host_initiated: B1, #[skip(setters)] pub persistent_event_log: B1, #[skip(setters)] pub supported_effects_features_and_nvme_mi: B1, #[skip(setters)] pub data_area_4: B1, #[skip] res: B1, }>
Source§impl Clone for LogPageAttributes
impl Clone for LogPageAttributes
Source§fn clone(&self) -> LogPageAttributes
fn clone(&self) -> LogPageAttributes
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more