pub struct AcvmExecutionOutput {
pub return_values: Vec<Fr>,
pub witness: WitnessMap<FieldElement>,
pub acir_bytecode: Vec<u8>,
pub first_acir_call_return_values: Vec<Fr>,
}Expand description
Raw ACVM execution output before structuring into kernel types.
This contains the solved witness and return values from a single ACVM run.
The oracle is responsible for collecting side effects (notes, nullifiers, logs)
into the proper PrivateCallExecutionResult structure.
Fields§
§return_values: Vec<Fr>Return values from the function.
witness: WitnessMap<FieldElement>The full solved witness map (for kernel circuit input).
acir_bytecode: Vec<u8>The ACIR bytecode used (for kernel proving).
first_acir_call_return_values: Vec<Fr>Return values from the first ACIR sub-circuit call (if any). Used to extract the inner function’s return value from an entrypoint wrapper.
Trait Implementations§
Source§impl Clone for AcvmExecutionOutput
impl Clone for AcvmExecutionOutput
Source§fn clone(&self) -> AcvmExecutionOutput
fn clone(&self) -> AcvmExecutionOutput
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for AcvmExecutionOutput
impl RefUnwindSafe for AcvmExecutionOutput
impl Send for AcvmExecutionOutput
impl Sync for AcvmExecutionOutput
impl Unpin for AcvmExecutionOutput
impl UnwindSafe for AcvmExecutionOutput
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,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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