pub enum ProofType {
Snark,
Stark,
Zkml,
}Expand description
The type of zero-knowledge proof.
Variants§
Snark
SNARK proof (succinct, pairing-based structure).
Stark
STARK proof (hash-based, post-quantum).
Zkml
ZKML inference proof.
Trait Implementations§
impl Copy for ProofType
Source§impl<'de> Deserialize<'de> for ProofType
impl<'de> Deserialize<'de> for ProofType
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
impl Eq for ProofType
impl StructuralPartialEq for ProofType
Auto Trait Implementations§
impl Freeze for ProofType
impl RefUnwindSafe for ProofType
impl Send for ProofType
impl Sync for ProofType
impl Unpin for ProofType
impl UnsafeUnpin for ProofType
impl UnwindSafe for ProofType
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