pub struct ResolvedArtifacts {
pub module: Module,
pub from_cwasm_cache: bool,
pub load_ms: u64,
pub initrd: Vec<u8>,
pub datadisk_template: Vec<u8>,
pub cmdline: String,
pub distro_path: Option<PathBuf>,
pub cache_dir: PathBuf,
pub cwasm_path: PathBuf,
}Expand description
Resolved kernel + initrd + cmdline + datadisk template + distro disk ready to boot.
Fields§
§module: Module§from_cwasm_cache: bool§load_ms: u64§initrd: Vec<u8>§datadisk_template: Vec<u8>§cmdline: String§distro_path: Option<PathBuf>§cache_dir: PathBuf§cwasm_path: PathBufAuto Trait Implementations§
impl !RefUnwindSafe for ResolvedArtifacts
impl !UnwindSafe for ResolvedArtifacts
impl Forget for ResolvedArtifacts
impl Freeze for ResolvedArtifactswhere
*const ArcInner<ModuleInner> is !null: Freeze,
PhantomData<ArcInner<ModuleInner>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
impl Move for ResolvedArtifacts
impl Send for ResolvedArtifacts
impl Sync for ResolvedArtifacts
impl Unpin for ResolvedArtifacts
impl UnsafeUnpin for ResolvedArtifactswhere
*const ArcInner<ModuleInner> is !null: UnsafeUnpin,
PhantomData<ArcInner<ModuleInner>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more