pub struct OtaImage {
pub header: OtaHeader,
pub path: PathBuf,
pub offset: u64,
}Expand description
One image file in the store.
Fields§
§header: OtaHeaderIts header.
path: PathBufThe file.
offset: u64Where the image starts in the file (after any vendor prefix).
Implementations§
Trait Implementations§
impl Eq for OtaImage
impl StructuralPartialEq for OtaImage
Auto Trait Implementations§
impl Freeze for OtaImage
impl RefUnwindSafe for OtaImage
impl Send for OtaImage
impl Sync for OtaImage
impl Unpin for OtaImage
impl UnsafeUnpin for OtaImage
impl UnwindSafe for OtaImage
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