[−][src]Struct solana_libra_nextgen_crypto::test_utils::KeyPair
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]
S: Uniform,
P: From<&'a S>,
fn generate_for_testing<R>(rng: &mut R) -> Self where
R: SeedableRng + RngCore + CryptoRng,
[src]
R: SeedableRng + RngCore + CryptoRng,
impl<S, P> From<S> for KeyPair<S, P> where
P: From<&'a S>,
[src]
P: From<&'a S>,
impl<Priv, Pub> Debug for KeyPair<Priv, Pub> where
Priv: Serialize,
Pub: Serialize + for<'a> From<&'a Priv>,
[src]
Priv: Serialize,
Pub: Serialize + for<'a> From<&'a Priv>,
Auto Trait Implementations
impl<S, P> Sync for KeyPair<S, P> where
P: Sync,
S: Sync,
P: Sync,
S: Sync,
impl<S, P> Send for KeyPair<S, P> where
P: Send,
S: Send,
P: Send,
S: Send,
impl<S, P> Unpin for KeyPair<S, P> where
P: Unpin,
S: Unpin,
P: Unpin,
S: Unpin,
impl<S, P> RefUnwindSafe for KeyPair<S, P> where
P: RefUnwindSafe,
S: RefUnwindSafe,
P: RefUnwindSafe,
S: RefUnwindSafe,
impl<S, P> UnwindSafe for KeyPair<S, P> where
P: UnwindSafe,
S: UnwindSafe,
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]
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>,