Struct sigma_fun::EqAll[][src]

pub struct EqAll<S, N> { /* fields omitted */ }

Combinator for proving any number of statements of the same kind have the same witness.

Implementations

impl<S, N> EqAll<S, N>[src]

pub fn new(sigma: S) -> Self[src]

Create a EqAll<N,S> from a Sigma protocol S.

Trait Implementations

impl<S: Clone, N: Clone> Clone for EqAll<S, N>[src]

impl<S: Debug, N: Debug> Debug for EqAll<S, N>[src]

impl<S: Default, N: Default> Default for EqAll<S, N>[src]

impl<S, N> Display for EqAll<S, N> where
    EqAll<S, N>: Sigma
[src]

impl<S: PartialEq, N: PartialEq> PartialEq<EqAll<S, N>> for EqAll<S, N>[src]

impl<N: Unsigned, S: Sigma> Sigma for EqAll<S, N>[src]

type Witness = S::Witness

The witness for the relation.

type Statement = Vec<S::Statement>

The elements of the statement the prover is proving.

type AnnounceSecret = S::AnnounceSecret

The type for the secret the prover creates when generating the proof.

type Announcement = Vec<S::Announcement>

The type for the public announcement the prover sends in the first round of the protocol.

type Response = S::Response

The type for the response the prover sends in the last round of the protocol.

type ChallengeLength = S::ChallengeLength

The length as a typenum Read more

impl<S, N> StructuralPartialEq for EqAll<S, N>[src]

impl<S: Sigma, N: Unsigned> Writable for EqAll<S, N>[src]

Auto Trait Implementations

impl<S, N> RefUnwindSafe for EqAll<S, N> where
    N: RefUnwindSafe,
    S: RefUnwindSafe

impl<S, N> Send for EqAll<S, N> where
    N: Send,
    S: Send

impl<S, N> Sync for EqAll<S, N> where
    N: Sync,
    S: Sync

impl<S, N> Unpin for EqAll<S, N> where
    N: Unpin,
    S: Unpin

impl<S, N> UnwindSafe for EqAll<S, N> where
    N: UnwindSafe,
    S: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Mark for T[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,