#[repr(C)]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 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 moresource§impl Debug for LogPageAttributes
impl Debug for LogPageAttributes
source§impl Default for LogPageAttributes
impl Default for LogPageAttributes
source§fn default() -> LogPageAttributes
fn default() -> LogPageAttributes
Auto Trait Implementations§
impl Freeze for LogPageAttributes
impl RefUnwindSafe for LogPageAttributes
impl Send for LogPageAttributes
impl Sync for LogPageAttributes
impl Unpin for LogPageAttributes
impl UnwindSafe for LogPageAttributes
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
)