pub struct EmbeddedRuntime {
pub gz: &'static [u8],
pub crc32: u32,
pub size: u64,
pub file_name: &'static str,
pub version: &'static str,
}Expand description
The runtime library a nova carries, as its build script embedded it.
Fields§
§gz: &'static [u8]The library, gzip-compressed. Empty when this nova carries none.
crc32: u32The uncompressed library’s CRC-32.
size: u64The uncompressed library’s size in bytes.
file_name: &'static strThe library’s file name for the target nova was built for.
version: &'static strnova-cli’s version: the first half of the cache directory’s name.
Trait Implementations§
Source§impl Clone for EmbeddedRuntime
impl Clone for EmbeddedRuntime
impl Copy for EmbeddedRuntime
Auto Trait Implementations§
impl Freeze for EmbeddedRuntime
impl RefUnwindSafe for EmbeddedRuntime
impl Send for EmbeddedRuntime
impl Sync for EmbeddedRuntime
impl Unpin for EmbeddedRuntime
impl UnsafeUnpin for EmbeddedRuntime
impl UnwindSafe for EmbeddedRuntime
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