[][src]Struct solana_libra_nextgen_crypto::test_utils::KeyPair

pub struct KeyPair<S, P> where
    P: From<&'a S>, 
{ pub private_key: S, pub public_key: P, }

A keypair consisting of a private and public key

Fields

private_key: S

the private key component

public_key: P

the public key component

Trait Implementations

impl<S, P> Uniform for KeyPair<S, P> where
    S: Uniform,
    P: From<&'a S>, 
[src]

impl<S, P> From<S> for KeyPair<S, P> where
    P: From<&'a S>, 
[src]

impl<Priv, Pub> Debug for KeyPair<Priv, Pub> where
    Priv: Serialize,
    Pub: Serialize + for<'a> From<&'a Priv>, 
[src]

Auto Trait Implementations

impl<S, P> Sync for KeyPair<S, P> where
    P: Sync,
    S: Sync

impl<S, P> Send for KeyPair<S, P> where
    P: Send,
    S: Send

impl<S, P> Unpin for KeyPair<S, P> where
    P: Unpin,
    S: Unpin

impl<S, P> RefUnwindSafe for KeyPair<S, P> where
    P: RefUnwindSafe,
    S: RefUnwindSafe

impl<S, P> UnwindSafe for KeyPair<S, P> where
    P: UnwindSafe,
    S: UnwindSafe

Blanket Implementations

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

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