Struct libspartan::SNARK

source ·
pub struct SNARK { /* private fields */ }
Expand description

SNARK holds a proof produced by Spartan SNARK

Implementations§

A public computation to create a commitment to an R1CS instance

A method to produce a SNARK proof of the satisfiability of an R1CS instance

A method to verify the SNARK proof of the satisfiability of an R1CS instance

Trait Implementations§

Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
Numeric cast from self to T.

Returns the argument unchanged.

Safe lossless bitwise transmute from T to Self.
Numeric cast from T to Self.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Safe lossless bitwise transmute from self to T.
Should always be Self
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.