#[repr(i32)]pub enum ProverMode {
Local = 0,
Remote = 1,
Hybrid = 2,
Proxy = 3,
LightClient = 4,
}Expand description
Proof generation mode – matches c4_prover_mode_t in the C core.
Variants§
Local = 0
Generate proofs locally.
Remote = 1
Ask a remote prover for the proof.
Hybrid = 2
Try local first, fall back to remote.
Proxy = 3
Proxy raw RPC through the configured endpoints without proving.
LightClient = 4
Like ProverMode::Hybrid but with a background poller
warming the block-header cache.
Trait Implementations§
Source§impl Clone for ProverMode
impl Clone for ProverMode
Source§fn clone(&self) -> ProverMode
fn clone(&self) -> ProverMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ProverMode
Source§impl Debug for ProverMode
impl Debug for ProverMode
impl Eq for ProverMode
Source§impl PartialEq for ProverMode
impl PartialEq for ProverMode
impl StructuralPartialEq for ProverMode
Auto Trait Implementations§
impl Freeze for ProverMode
impl RefUnwindSafe for ProverMode
impl Send for ProverMode
impl Sync for ProverMode
impl Unpin for ProverMode
impl UnsafeUnpin for ProverMode
impl UnwindSafe for ProverMode
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.