Expand description
Typesafe wrappers around an “update” package.
Re-exports§
pub use crate::images::parse_image_packages_json;
pub use crate::images::ImageMetadata;
pub use crate::images::ImageMetadataError;
pub use crate::images::ImagePackagesError;
pub use crate::images::ImagePackagesManifest;
pub use crate::images::ImagePackagesManifestBuilder;
pub use crate::images::ImagesMetadata;
pub use crate::images::ResolveImagesError;
pub use crate::images::VerifyError;
pub use crate::images::VersionedImagePackagesManifest;
pub use crate::images::ZbiAndOptionalVbmetaMetadata;
Modules§
- The images and firmware that should be downloaded and written during the update.
Structs§
- An open handle to an image package.
- An open handle to an “update” package.
Enums§
- An error encountered while extracting the package hash.
- An error encountered while opening an image.
- An error encountered while parsing the epoch.json file.
- ParsePackageError represents any error which might occur while reading
packages.json
from an update package. - An error encountered while parsing the update-mode file.
- An error encountered while reading the version.
- SerializePackageError represents any error which might occur while writing
packages.json
for an update package. - Represents the version of an update package.
- Enum to describe the supported update modes.
- An error encountered while verifying the board.
- An error encountered while verifying the board.
Functions§
- Returns structured
packages.json
data based on file contents string. - Returns serialized
packages.json
contents based package URLs.