[][src]Struct clacc::Witness

pub struct Witness<T: BigInt> {
    pub u: T,
    pub nonce: T,
}

A witness of an element's membership in an accumulator.

Fields

u: T

The accumulation value less the element.

nonce: T

A number that, when added to the element, uniquely maps the element to a prime.

Trait Implementations

impl<T: Clone + BigInt> Clone for Witness<T>[src]

impl<T: Debug + BigInt> Debug for Witness<T>[src]

impl<T: Default + BigInt> Default for Witness<T>[src]

impl<T: BigInt> Display for Witness<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for Witness<T> where
    T: RefUnwindSafe

impl<T> Send for Witness<T>

impl<T> Sync for Witness<T>

impl<T> Unpin for Witness<T> where
    T: Unpin

impl<T> UnwindSafe for Witness<T> where
    T: 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> Same<T> for T[src]

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>,