pub struct PinnedFile {
pub name: &'static str,
pub sha256: &'static str,
pub bytes: u64,
}Expand description
One file as it must appear in boxlite’s extracted runtime directory.
Fields§
§name: &'static strIts name in the runtime directory — the archive member with the
leading boxlite-runtime/ component stripped, as
tar --strip-components=1 leaves it.
sha256: &'static strLowercase hex SHA-256 of its contents.
bytes: u64Its exact size in bytes.
Trait Implementations§
Source§impl Clone for PinnedFile
impl Clone for PinnedFile
Source§fn clone(&self) -> PinnedFile
fn clone(&self) -> PinnedFile
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 PinnedFile
Source§impl Debug for PinnedFile
impl Debug for PinnedFile
impl Eq for PinnedFile
Source§impl PartialEq for PinnedFile
impl PartialEq for PinnedFile
impl StructuralPartialEq for PinnedFile
Auto Trait Implementations§
impl Freeze for PinnedFile
impl RefUnwindSafe for PinnedFile
impl Send for PinnedFile
impl Sync for PinnedFile
impl Unpin for PinnedFile
impl UnsafeUnpin for PinnedFile
impl UnwindSafe for PinnedFile
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.