#[repr(C)]pub struct ReplayProtectedMemoryBlockSupport { /* private fields */ }
Implementations§
source§impl ReplayProtectedMemoryBlockSupport
impl ReplayProtectedMemoryBlockSupport
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 ReplayProtectedMemoryBlockSupport
impl ReplayProtectedMemoryBlockSupport
sourcepub fn nr_rpmb_units(&self) -> <B3 as Specifier>::InOut
pub fn nr_rpmb_units(&self) -> <B3 as Specifier>::InOut
Returns the value of nr_rpmb_units.
sourcepub fn nr_rpmb_units_or_err(
&self,
) -> Result<<B3 as Specifier>::InOut, InvalidBitPattern<<B3 as Specifier>::Bytes>>
pub fn nr_rpmb_units_or_err( &self, ) -> Result<<B3 as Specifier>::InOut, InvalidBitPattern<<B3 as Specifier>::Bytes>>
Returns the value of nr_rpmb_units.
#Errors
If the returned value contains an invalid bit pattern for nr_rpmb_units.
sourcepub fn auth_method(&self) -> <AuthMethod as Specifier>::InOut
pub fn auth_method(&self) -> <AuthMethod as Specifier>::InOut
Returns the value of auth_method.
sourcepub fn auth_method_or_err(
&self,
) -> Result<<AuthMethod as Specifier>::InOut, InvalidBitPattern<<AuthMethod as Specifier>::Bytes>>
pub fn auth_method_or_err( &self, ) -> Result<<AuthMethod as Specifier>::InOut, InvalidBitPattern<<AuthMethod as Specifier>::Bytes>>
Returns the value of auth_method.
#Errors
If the returned value contains an invalid bit pattern for auth_method.
sourcepub fn total_size(&self) -> <B8 as Specifier>::InOut
pub fn total_size(&self) -> <B8 as Specifier>::InOut
Returns the value of total_size.
sourcepub fn total_size_or_err(
&self,
) -> Result<<B8 as Specifier>::InOut, InvalidBitPattern<<B8 as Specifier>::Bytes>>
pub fn total_size_or_err( &self, ) -> Result<<B8 as Specifier>::InOut, InvalidBitPattern<<B8 as Specifier>::Bytes>>
Returns the value of total_size.
#Errors
If the returned value contains an invalid bit pattern for total_size.
sourcepub fn access_size(&self) -> <B8 as Specifier>::InOut
pub fn access_size(&self) -> <B8 as Specifier>::InOut
Returns the value of access_size.
sourcepub fn access_size_or_err(
&self,
) -> Result<<B8 as Specifier>::InOut, InvalidBitPattern<<B8 as Specifier>::Bytes>>
pub fn access_size_or_err( &self, ) -> Result<<B8 as Specifier>::InOut, InvalidBitPattern<<B8 as Specifier>::Bytes>>
Returns the value of access_size.
#Errors
If the returned value contains an invalid bit pattern for access_size.
Trait Implementations§
source§impl CheckFillsUnalignedBits for ReplayProtectedMemoryBlockSupport
impl CheckFillsUnalignedBits for ReplayProtectedMemoryBlockSupport
source§impl Clone for ReplayProtectedMemoryBlockSupport
impl Clone for ReplayProtectedMemoryBlockSupport
source§fn clone(&self) -> ReplayProtectedMemoryBlockSupport
fn clone(&self) -> ReplayProtectedMemoryBlockSupport
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 ReplayProtectedMemoryBlockSupport
impl Default for ReplayProtectedMemoryBlockSupport
source§fn default() -> ReplayProtectedMemoryBlockSupport
fn default() -> ReplayProtectedMemoryBlockSupport
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ReplayProtectedMemoryBlockSupport
impl RefUnwindSafe for ReplayProtectedMemoryBlockSupport
impl Send for ReplayProtectedMemoryBlockSupport
impl Sync for ReplayProtectedMemoryBlockSupport
impl Unpin for ReplayProtectedMemoryBlockSupport
impl UnwindSafe for ReplayProtectedMemoryBlockSupport
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
)