Struct miden_processor::Process
source · pub struct Process { /* private fields */ }
Implementations
sourceimpl Process
impl Process
sourcepub fn dec_advice(
&mut self,
injector: &AdviceInjector
) -> Result<(), ExecutionError>
pub fn dec_advice(
&mut self,
injector: &AdviceInjector
) -> Result<(), ExecutionError>
Process the specified advice injector.
sourceimpl Process
impl Process
sourcepub fn new(kernel: &Kernel, inputs: ProgramInputs) -> Self
pub fn new(kernel: &Kernel, inputs: ProgramInputs) -> Self
Creates a new process with the provided inputs.
sourcepub fn new_debug(kernel: &Kernel, inputs: ProgramInputs) -> Self
pub fn new_debug(kernel: &Kernel, inputs: ProgramInputs) -> Self
Creates a new process with provided inputs and debug options enabled.
sourcepub fn execute(
&mut self,
program: &Program
) -> Result<ProgramOutputs, ExecutionError>
pub fn execute(
&mut self,
program: &Program
) -> Result<ProgramOutputs, ExecutionError>
Executes the provided Program in this process.
pub fn get_memory_value(&self, ctx: u32, addr: u64) -> Option<Word>
pub fn to_components(self) -> (System, Decoder, Stack, RangeChecker, Chiplets)
Auto Trait Implementations
impl RefUnwindSafe for Process
impl Send for Process
impl Sync for Process
impl Unpin for Process
impl UnwindSafe for Process
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more