pub struct ImageInfo {
pub version: ImageVersion,
pub hash: [u8; 32],
}Expand description
Information about an MCUboot firmware image
Fields§
§version: ImageVersionFirmware version
hash: [u8; 32]The identifying hash for the firmware
Note that this will not be the same as the SHA256 of the whole file, it is the field in the MCUboot TLV section that contains a hash of the data which is used for signature verification purposes.
Trait Implementations§
impl Copy for ImageInfo
impl Eq for ImageInfo
impl StructuralPartialEq for ImageInfo
Auto Trait Implementations§
impl Freeze for ImageInfo
impl RefUnwindSafe for ImageInfo
impl Send for ImageInfo
impl Sync for ImageInfo
impl Unpin for ImageInfo
impl UnwindSafe for ImageInfo
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