Struct UnrolledProgramProof
pub struct UnrolledProgramProof {
pub final_pc: u32,
pub final_timestamp: u64,
pub circuit_families_proofs: BTreeMap<u8, Vec<UnrolledModeProof>>,
pub inits_and_teardowns_proofs: Vec<UnrolledModeProof>,
pub delegation_proofs: BTreeMap<u32, Vec<Proof>>,
pub register_final_values: [FinalRegisterValue; 32],
pub recursion_chain_preimage: Option<[u32; 16]>,
pub recursion_chain_hash: Option<[u32; 8]>,
pub pow_challenge: u64,
}Fields§
§final_pc: u32§final_timestamp: u64§circuit_families_proofs: BTreeMap<u8, Vec<UnrolledModeProof>>§inits_and_teardowns_proofs: Vec<UnrolledModeProof>§delegation_proofs: BTreeMap<u32, Vec<Proof>>§register_final_values: [FinalRegisterValue; 32]§recursion_chain_preimage: Option<[u32; 16]>§recursion_chain_hash: Option<[u32; 8]>§pow_challenge: u64Implementations§
§impl UnrolledProgramProof
impl UnrolledProgramProof
pub fn get_proof_counts(&self) -> (usize, usize, usize)
pub fn debug_info(&self) -> String
pub fn flatten_into_responses( &self, allowed_delegation_circuits: &[u32], compiled_layouts: &CompiledCircuitsSet, ) -> Vec<u32>
Trait Implementations§
§impl Clone for UnrolledProgramProof
impl Clone for UnrolledProgramProof
§fn clone(&self) -> UnrolledProgramProof
fn clone(&self) -> UnrolledProgramProof
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 more§impl Debug for UnrolledProgramProof
impl Debug for UnrolledProgramProof
§impl<'de> Deserialize<'de> for UnrolledProgramProof
impl<'de> Deserialize<'de> for UnrolledProgramProof
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<UnrolledProgramProof, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<UnrolledProgramProof, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl From<ProveResult> for UnrolledProgramProof
impl From<ProveResult> for UnrolledProgramProof
§fn from(value: ProveResult) -> UnrolledProgramProof
fn from(value: ProveResult) -> UnrolledProgramProof
Converts to this type from the input type.
§impl Hash for UnrolledProgramProof
impl Hash for UnrolledProgramProof
§impl Serialize for UnrolledProgramProof
impl Serialize for UnrolledProgramProof
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for UnrolledProgramProof
impl RefUnwindSafe for UnrolledProgramProof
impl Send for UnrolledProgramProof
impl Sync for UnrolledProgramProof
impl Unpin for UnrolledProgramProof
impl UnwindSafe for UnrolledProgramProof
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,
§impl<T> CudaVariable<T> for T
impl<T> CudaVariable<T> for T
§impl<T> CudaVariableMut<T> for T
impl<T> CudaVariableMut<T> for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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