pub struct ProgramWitness<F: TowerField, T: Trace = ColumnTrace> {
pub trace: T,
pub chiplet_traces: Vec<ColumnTrace>,
/* private fields */
}Expand description
Secret Witness (The Execution Trace) of the program. Holds the trace data. Generic over T to support both raw ColumnTrace and specialized wrappers.
Fields§
§trace: T§chiplet_traces: Vec<ColumnTrace>Implementations§
Source§impl<F: TowerField, T: Trace> ProgramWitness<F, T>
impl<F: TowerField, T: Trace> ProgramWitness<F, T>
pub fn new(trace: T) -> Self
Sourcepub fn with_chiplets(self, chiplet_traces: Vec<ColumnTrace>) -> Self
pub fn with_chiplets(self, chiplet_traces: Vec<ColumnTrace>) -> Self
Attach independent chiplet traces.
Each entry corresponds by index to chiplet_defs().
Auto Trait Implementations§
impl<F, T> Freeze for ProgramWitness<F, T>where
T: Freeze,
impl<F, T> RefUnwindSafe for ProgramWitness<F, T>where
T: RefUnwindSafe,
F: RefUnwindSafe,
impl<F, T> Send for ProgramWitness<F, T>
impl<F, T> Sync for ProgramWitness<F, T>
impl<F, T> Unpin for ProgramWitness<F, T>
impl<F, T> UnsafeUnpin for ProgramWitness<F, T>where
T: UnsafeUnpin,
impl<F, T> UnwindSafe for ProgramWitness<F, T>where
T: UnwindSafe,
F: UnwindSafe,
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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