pub struct Prover { /* private fields */ }
Expand description

The prover generates a Receipt by executing a given method in a ZKVM.

Implementations

Create a new Prover with the given method (specified via elf_path) and an associated method ID (specified via id_path).

Provide private input data that is availble to guest-side method code to ‘read’.

Provide access to private output data written by guest-side method code.

Provide access to private output data written to by guest-side method code.

This returns the data as a Vec<u32>.

Execute the ZKVM to produce a Receipt.

Trait Implementations

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.