pub(crate) enum RuntimeProgram {
Interpret(Program),
Compiled(Executable),
}
Expand description
Combination of Runtime
and the actual program info used by that runtime
All variants of RuntimeProgram
use some kind of inner heap allocation
to store the program data.
Variants§
Interpret(Program)
Select the interpreted runtime, and hold a Program for it to run.
Compiled(Executable)
Select the compiled runtime, and hold an executable code page.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RuntimeProgram
impl RefUnwindSafe for RuntimeProgram
impl Send for RuntimeProgram
impl Sync for RuntimeProgram
impl Unpin for RuntimeProgram
impl UnwindSafe for RuntimeProgram
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