pub enum ProverType {
NetworkProver(NetworkProverConfig),
CpuProver(CpuProverConfig),
GpuProver(GpuProverConfig),
MockProver(MockProverConfig),
}Expand description
Type of the prover to be used for generation of the pessimistic proof
Variants§
NetworkProver(NetworkProverConfig)
CpuProver(CpuProverConfig)
GpuProver(GpuProverConfig)
MockProver(MockProverConfig)
Trait Implementations§
Source§impl Clone for ProverType
impl Clone for ProverType
Source§fn clone(&self) -> ProverType
fn clone(&self) -> ProverType
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 moreSource§impl Debug for ProverType
impl Debug for ProverType
Source§impl Default for ProverType
impl Default for ProverType
Source§impl<'de> Deserialize<'de> for ProverType
impl<'de> Deserialize<'de> for ProverType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ProverType
impl PartialEq for ProverType
Source§impl Serialize for ProverType
impl Serialize for ProverType
impl Eq for ProverType
impl StructuralPartialEq for ProverType
Auto Trait Implementations§
impl Freeze for ProverType
impl RefUnwindSafe for ProverType
impl Send for ProverType
impl Sync for ProverType
impl Unpin for ProverType
impl UnwindSafe for ProverType
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