pub struct PinnedArchive {
pub target: &'static str,
pub url: &'static str,
pub sha256: &'static str,
pub bytes: u64,
}Expand description
One platform’s prebuilt sandbox-runtime archive.
The target names are boxlite’s own, from its runtime_target() — they
are what appears in the release asset’s filename, so they are the identifiers
that can actually be checked against upstream.
Fields§
§target: &'static strThe platform, as the upstream release names it.
url: &'static strWhere the archive is published.
sha256: &'static strLowercase hex SHA-256 of the archive. Verified before it is installed and again before it is built against.
bytes: u64Its exact size. Redundant with the digest, and kept because a truncated body is the common failure and “expected 26520984 bytes, got 1043” says so far more clearly than two digests that differ.
Trait Implementations§
Source§impl Clone for PinnedArchive
impl Clone for PinnedArchive
Source§fn clone(&self) -> PinnedArchive
fn clone(&self) -> PinnedArchive
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PinnedArchive
Source§impl Debug for PinnedArchive
impl Debug for PinnedArchive
impl Eq for PinnedArchive
Source§impl PartialEq for PinnedArchive
impl PartialEq for PinnedArchive
impl StructuralPartialEq for PinnedArchive
Auto Trait Implementations§
impl Freeze for PinnedArchive
impl RefUnwindSafe for PinnedArchive
impl Send for PinnedArchive
impl Sync for PinnedArchive
impl Unpin for PinnedArchive
impl UnsafeUnpin for PinnedArchive
impl UnwindSafe for PinnedArchive
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.