[][src]Struct redjubjub::VerificationKeyBytes

pub struct VerificationKeyBytes<T: SigType> { /* fields omitted */ }

A refinement type for [u8; 32] indicating that the bytes represent an encoding of a RedJubJub verification key.

This is useful for representing a compressed verification key; the VerificationKey type in this library holds other decompressed state used in signature verification.

Trait Implementations

impl<T: Clone + SigType> Clone for VerificationKeyBytes<T>[src]

impl<T: Copy + SigType> Copy for VerificationKeyBytes<T>[src]

impl<T: Debug + SigType> Debug for VerificationKeyBytes<T>[src]

impl<'de, T: SigType> Deserialize<'de> for VerificationKeyBytes<T>[src]

impl<T: Eq + SigType> Eq for VerificationKeyBytes<T>[src]

impl<T: SigType> From<[u8; 32]> for VerificationKeyBytes<T>[src]

impl<T: SigType> From<VerificationKey<T>> for VerificationKeyBytes<T>[src]

impl<T: SigType> From<VerificationKeyBytes<T>> for [u8; 32][src]

impl<T: SigType> Hash for VerificationKeyBytes<T>[src]

impl<T: PartialEq + SigType> PartialEq<VerificationKeyBytes<T>> for VerificationKeyBytes<T>[src]

impl<T: SigType> Serialize for VerificationKeyBytes<T>[src]

impl<T: SigType> StructuralEq for VerificationKeyBytes<T>[src]

impl<T: SigType> StructuralPartialEq for VerificationKeyBytes<T>[src]

impl<T: SigType> TryFrom<VerificationKeyBytes<T>> for VerificationKey<T>[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

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

impl<T> Send for VerificationKeyBytes<T> where
    T: Send

impl<T> Sync for VerificationKeyBytes<T> where
    T: Sync

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

impl<T> UnwindSafe for VerificationKeyBytes<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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[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

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