pub enum SP1ProofMode {
Core,
Compressed,
Plonk,
Groth16,
}
Expand description
Auto-generated discriminant enum variants
Variants§
Core
A proof generated by the core proof mode.
The proof size scales linearly with the number of cycles.
Compressed
A proof generated by the compress proof mode.
The proof size is constant, regardless of the number of cycles.
Plonk
A proof generated by the Plonk proof mode.
Groth16
A proof generated by the Groth16 proof mode.
Trait Implementations§
Source§impl Clone for SP1ProofMode
impl Clone for SP1ProofMode
Source§fn clone(&self) -> SP1ProofMode
fn clone(&self) -> SP1ProofMode
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 SP1ProofMode
impl Debug for SP1ProofMode
Source§impl Default for SP1ProofMode
impl Default for SP1ProofMode
Source§fn default() -> SP1ProofMode
fn default() -> SP1ProofMode
Returns the “default value” for a type. Read more
Source§impl<'_enum> From<&'_enum SP1Proof> for SP1ProofMode
impl<'_enum> From<&'_enum SP1Proof> for SP1ProofMode
Source§fn from(val: &'_enum SP1Proof) -> SP1ProofMode
fn from(val: &'_enum SP1Proof) -> SP1ProofMode
Converts to this type from the input type.
Source§impl From<SP1Proof> for SP1ProofMode
impl From<SP1Proof> for SP1ProofMode
Source§fn from(val: SP1Proof) -> SP1ProofMode
fn from(val: SP1Proof) -> SP1ProofMode
Converts to this type from the input type.
Source§impl Hash for SP1ProofMode
impl Hash for SP1ProofMode
Source§impl Ord for SP1ProofMode
impl Ord for SP1ProofMode
Source§fn cmp(&self, other: &SP1ProofMode) -> Ordering
fn cmp(&self, other: &SP1ProofMode) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SP1ProofMode
impl PartialEq for SP1ProofMode
Source§impl PartialOrd for SP1ProofMode
impl PartialOrd for SP1ProofMode
impl Copy for SP1ProofMode
impl Eq for SP1ProofMode
impl StructuralPartialEq for SP1ProofMode
Auto Trait Implementations§
impl Freeze for SP1ProofMode
impl RefUnwindSafe for SP1ProofMode
impl Send for SP1ProofMode
impl Sync for SP1ProofMode
impl Unpin for SP1ProofMode
impl UnwindSafe for SP1ProofMode
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more