#[repr(C)]pub struct FirmwareUpdates { /* private fields */ }
Implementations§
source§impl FirmwareUpdates
impl FirmwareUpdates
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 FirmwareUpdates
impl FirmwareUpdates
sourcepub fn first_firmware_slot_readonly(&self) -> <B1 as Specifier>::InOut
pub fn first_firmware_slot_readonly(&self) -> <B1 as Specifier>::InOut
Returns the value of first_firmware_slot_readonly.
sourcepub fn first_firmware_slot_readonly_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn first_firmware_slot_readonly_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of first_firmware_slot_readonly.
#Errors
If the returned value contains an invalid bit pattern for first_firmware_slot_readonly.
sourcepub fn number_of_firmware_slots(&self) -> <B3 as Specifier>::InOut
pub fn number_of_firmware_slots(&self) -> <B3 as Specifier>::InOut
Returns the value of number_of_firmware_slots.
sourcepub fn number_of_firmware_slots_or_err(
&self,
) -> Result<<B3 as Specifier>::InOut, InvalidBitPattern<<B3 as Specifier>::Bytes>>
pub fn number_of_firmware_slots_or_err( &self, ) -> Result<<B3 as Specifier>::InOut, InvalidBitPattern<<B3 as Specifier>::Bytes>>
Returns the value of number_of_firmware_slots.
#Errors
If the returned value contains an invalid bit pattern for number_of_firmware_slots.
sourcepub fn firmware_activation_without_reset(&self) -> <B1 as Specifier>::InOut
pub fn firmware_activation_without_reset(&self) -> <B1 as Specifier>::InOut
Returns the value of firmware_activation_without_reset.
sourcepub fn firmware_activation_without_reset_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn firmware_activation_without_reset_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of firmware_activation_without_reset.
#Errors
If the returned value contains an invalid bit pattern for firmware_activation_without_reset.
sourcepub fn support_multiple_update_detection(&self) -> <B1 as Specifier>::InOut
pub fn support_multiple_update_detection(&self) -> <B1 as Specifier>::InOut
Returns the value of support_multiple_update_detection.
sourcepub fn support_multiple_update_detection_or_err(
&self,
) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
pub fn support_multiple_update_detection_or_err( &self, ) -> Result<<B1 as Specifier>::InOut, InvalidBitPattern<<B1 as Specifier>::Bytes>>
Returns the value of support_multiple_update_detection.
#Errors
If the returned value contains an invalid bit pattern for support_multiple_update_detection.
Trait Implementations§
source§impl Clone for FirmwareUpdates
impl Clone for FirmwareUpdates
source§fn clone(&self) -> FirmwareUpdates
fn clone(&self) -> FirmwareUpdates
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for FirmwareUpdates
impl Debug for FirmwareUpdates
source§impl Default for FirmwareUpdates
impl Default for FirmwareUpdates
source§fn default() -> FirmwareUpdates
fn default() -> FirmwareUpdates
Auto Trait Implementations§
impl Freeze for FirmwareUpdates
impl RefUnwindSafe for FirmwareUpdates
impl Send for FirmwareUpdates
impl Sync for FirmwareUpdates
impl Unpin for FirmwareUpdates
impl UnwindSafe for FirmwareUpdates
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
)