pub struct StarkProof<H: MerkleHasherLifted>(pub CommitmentSchemeProof<H>);Tuple Fields§
§0: CommitmentSchemeProof<H>Implementations§
Source§impl<H: MerkleHasherLifted> StarkProof<H>
impl<H: MerkleHasherLifted> StarkProof<H>
Sourcepub fn size_estimate(&self) -> usize
pub fn size_estimate(&self) -> usize
Returns the estimate size (in bytes) of the proof.
Sourcepub fn size_breakdown_estimate(&self) -> StarkProofSizeBreakdown
pub fn size_breakdown_estimate(&self) -> StarkProofSizeBreakdown
Returns size estimates (in bytes) for different parts of the proof.
Trait Implementations§
Source§impl<H: Clone + MerkleHasherLifted> Clone for StarkProof<H>
impl<H: Clone + MerkleHasherLifted> Clone for StarkProof<H>
Source§fn clone(&self) -> StarkProof<H>
fn clone(&self) -> StarkProof<H>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<H: Debug + MerkleHasherLifted> Debug for StarkProof<H>
impl<H: Debug + MerkleHasherLifted> Debug for StarkProof<H>
Source§impl<H: MerkleHasherLifted> Deref for StarkProof<H>
impl<H: MerkleHasherLifted> Deref for StarkProof<H>
Source§type Target = CommitmentSchemeProof<H>
type Target = CommitmentSchemeProof<H>
The resulting type after dereferencing.
Source§fn deref(&self) -> &CommitmentSchemeProof<H>
fn deref(&self) -> &CommitmentSchemeProof<H>
Dereferences the value.
Source§impl<'de, H> Deserialize<'de> for StarkProof<H>where
H: Deserialize<'de> + MerkleHasherLifted,
impl<'de, H> Deserialize<'de> for StarkProof<H>where
H: Deserialize<'de> + MerkleHasherLifted,
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<H> Serialize for StarkProof<H>where
H: Serialize + MerkleHasherLifted,
impl<H> Serialize for StarkProof<H>where
H: Serialize + MerkleHasherLifted,
Auto Trait Implementations§
impl<H> Freeze for StarkProof<H>
impl<H> RefUnwindSafe for StarkProof<H>
impl<H> Send for StarkProof<H>
impl<H> Sync for StarkProof<H>
impl<H> Unpin for StarkProof<H>
impl<H> UnsafeUnpin for StarkProof<H>
impl<H> UnwindSafe for StarkProof<H>
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> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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