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 more