Struct risc0_zkvm::ExternalProver
source · pub struct ExternalProver { /* private fields */ }
Expand description
An implementation of a Prover that runs proof workloads via an external
r0vm
process.
Implementations§
Trait Implementations§
source§impl Executor for ExternalProver
impl Executor for ExternalProver
source§fn execute(&self, env: ExecutorEnv<'_>, elf: &[u8]) -> Result<SessionInfo>
fn execute(&self, env: ExecutorEnv<'_>, elf: &[u8]) -> Result<SessionInfo>
Execute the specified ELF binary. Read more
source§impl Prover for ExternalProver
impl Prover for ExternalProver
source§fn prove_with_ctx(
&self,
env: ExecutorEnv<'_>,
ctx: &VerifierContext,
elf: &[u8],
opts: &ProverOpts
) -> Result<Receipt>
fn prove_with_ctx( &self, env: ExecutorEnv<'_>, ctx: &VerifierContext, elf: &[u8], opts: &ProverOpts ) -> Result<Receipt>
Prove zkVM execution starting from the specified ELF binary with the
specified VerifierContext and ProverOpts.
Auto Trait Implementations§
impl RefUnwindSafe for ExternalProver
impl Send for ExternalProver
impl Sync for ExternalProver
impl Unpin for ExternalProver
impl UnwindSafe for ExternalProver
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