pub enum ProvingSystem {
Groth16,
Plonk,
Bulletproofs,
Stark,
}Expand description
Proving system variants
Variants§
Groth16
Groth16 - most compact proofs
Plonk
PLONK - universal setup
Bulletproofs
Bulletproofs - no trusted setup
Stark
STARK - post-quantum secure
Trait Implementations§
Source§impl Clone for ProvingSystem
impl Clone for ProvingSystem
Source§fn clone(&self) -> ProvingSystem
fn clone(&self) -> ProvingSystem
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 ProvingSystem
impl Debug for ProvingSystem
Source§impl<'de> Deserialize<'de> for ProvingSystem
impl<'de> Deserialize<'de> for ProvingSystem
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 Serialize for ProvingSystem
impl Serialize for ProvingSystem
impl Copy for ProvingSystem
Auto Trait Implementations§
impl Freeze for ProvingSystem
impl RefUnwindSafe for ProvingSystem
impl Send for ProvingSystem
impl Sync for ProvingSystem
impl Unpin for ProvingSystem
impl UnwindSafe for ProvingSystem
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