pub struct PreparedBox { /* private fields */ }Expand description
The immutable result of a successfully verified box.
Implementations§
Source§impl PreparedBox
impl PreparedBox
Sourcepub fn status(&self) -> PreparedStatus
pub fn status(&self) -> PreparedStatus
Which producer minted this receipt, and therefore what it proves.
Sourcepub fn runtime_id(&self) -> &str
pub fn runtime_id(&self) -> &str
Installed-directory identity, from the signed release.
Sourcepub fn python_entry_point(&self) -> &str
pub fn python_entry_point(&self) -> &str
Interpreter path, relative to the box root.
Sourcepub fn execution(&self) -> Option<&Execution>
pub fn execution(&self) -> Option<&Execution>
The declared application entry point, if the box has one.
Sourcepub fn required_assets(&self) -> &[AssetDescriptor]
pub fn required_assets(&self) -> &[AssetDescriptor]
Assets the caller must materialise. Scrollcase never downloads them.
Sourcepub fn signing_key_ids(&self) -> &[String]
pub fn signing_key_ids(&self) -> &[String]
Which keys signed the release this box was verified against.
Sourcepub fn release_payload_sha256(&self) -> &str
pub fn release_payload_sha256(&self) -> &str
SHA-256 of the signed release payload.
Sourcepub fn archive_sha256(&self) -> &str
pub fn archive_sha256(&self) -> &str
SHA-256 the signed release commits the archive to.
Sourcepub fn archive_size_bytes(&self) -> u64
pub fn archive_size_bytes(&self) -> u64
Size the signed release commits the archive to.
Sourcepub fn installed_size_bytes(&self) -> u64
pub fn installed_size_bytes(&self) -> u64
Logical size of the box root when this receipt was produced.
On an attached receipt this is a current measurement, never an agreement with the release: an installed tree legitimately grows after extraction.
Sourcepub fn environment_report(&self) -> &EnvironmentReport
pub fn environment_report(&self) -> &EnvironmentReport
Diagnostic snapshot of this process’s environment against the signed declaration.
Trait Implementations§
Source§impl Clone for PreparedBox
impl Clone for PreparedBox
Source§fn clone(&self) -> PreparedBox
fn clone(&self) -> PreparedBox
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more