Struct sp_application_crypto::sr25519::AppPair[][src]

pub struct AppPair(_);

A generic AppPublic wrapper type over $pair crypto; this has no specific App.

Trait Implementations

impl AppKey for Pair[src]

type UntypedGeneric = Pair

The corresponding type as a generic crypto type.

type Public = Public

The corresponding public key type in this application scheme.

type Pair = Pair

The corresponding key pair type in this application scheme.

type Signature = Signature

The corresponding signature type in this application scheme.

impl AppPair for Pair[src]

type Generic = Pair

The wrapped type which is just a plain instance of Pair.

impl AsMut<Pair> for Pair[src]

impl AsRef<Pair> for Pair[src]

impl Clone for Pair[src]

impl CryptoType for Pair[src]

type Pair = Pair

The pair key type of this crypto.

impl From<Pair> for Pair[src]

impl From<Pair> for Pair[src]

impl Pair for Pair[src]

type Public = Public

The type which is used to encode a public key.

type Seed = <Pair as Pair>::Seed

The type used to (minimally) encode the data required to securely create a new key pair. Read more

type Signature = Signature

The type used to represent a signature. Can be created from a key pair and a message and verified with the message and a public key. Read more

type DeriveError = <Pair as Pair>::DeriveError

Error returned from the derive function.

impl Wraps for Pair[src]

type Inner = Pair

The inner type it is wrapping.

Auto Trait Implementations

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> DynClone for T where
    T: Clone
[src]

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

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, Outer> IsWrappedBy<Outer> for T where
    T: From<Outer>,
    Outer: AsRef<T> + AsMut<T> + From<T>, 
[src]

pub fn from_ref(outer: &Outer) -> &T[src]

Get a reference to the inner from the outer.

pub fn from_mut(outer: &mut Outer) -> &mut T[src]

Get a mutable reference to the inner from the outer.

impl<T> MaybeRefUnwindSafe for T where
    T: RefUnwindSafe

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.

impl<S, T> UncheckedInto<T> for S where
    T: UncheckedFrom<S>, 
[src]

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