[−][src]Struct solana_libra_nextgen_crypto::vrf::ecvrf::Proof
A VRF proof that can be used to validate an input with a public key
Methods
impl Proof
[src]
pub fn new(gamma: EdwardsPoint, c: ed25519_Scalar, s: ed25519_Scalar) -> Proof
[src]
Produces a new Proof struct from its fields
pub fn to_bytes(&self) -> [u8; 80]
[src]
Converts a Proof into bytes
Trait Implementations
impl<'a> From<&'a Proof> for Output
[src]
impl<'_> TryFrom<&'_ [u8]> for Proof
[src]
type Error = CryptoMaterialError
The type returned in the event of a conversion error.
fn try_from(bytes: &[u8]) -> Result<Proof, CryptoMaterialError>
[src]
Auto Trait Implementations
impl Sync for Proof
impl Send for Proof
impl Unpin for Proof
impl RefUnwindSafe for Proof
impl UnwindSafe for Proof
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,