[][src]Struct sp_application_crypto::sr25519::AppPublic

pub struct AppPublic(_);

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

Trait Implementations

impl AppKey for Public[src]

type UntypedGeneric = Public

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 AppPublic for Public[src]

type Generic = Public

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

impl AsMut<[u8]> for Public[src]

impl AsMut<Public> for Public[src]

impl AsRef<[u8]> for Public[src]

impl AsRef<Public> for Public[src]

impl BoundToRuntimeAppPublic for Public[src]

type Public = Self

The RuntimeAppPublic this type is bound to.

impl Clone for Public[src]

impl CryptoType for Public[src]

type Pair = Pair

The pair key type of this crypto.

impl Debug for Public[src]

impl Decode for Public[src]

impl Default for Public[src]

impl Derive for Public[src]

impl<'de> Deserialize<'de> for Public[src]

impl Display for Public[src]

impl Encode for Public[src]

impl EncodeLike<Public> for Public[src]

impl Eq for Public[src]

impl From<Public> for Public[src]

impl From<Public> for Public[src]

impl Hash for Public[src]

impl Ord for Public[src]

impl PartialEq<Public> for Public[src]

impl PartialOrd<Public> for Public[src]

impl Public for Public[src]

impl RuntimeAppPublic for Public where
    Public: RuntimePublic<Signature = Signature>, 
[src]

type Signature = Signature

The signature that will be generated when signing with the corresponding private key.

impl Serialize for Public[src]

impl StructuralEq for Public[src]

impl StructuralPartialEq for Public[src]

impl Wraps for Public[src]

type Inner = Public

The inner type it is wrapping.

Auto Trait Implementations

Blanket Implementations

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

impl<T, U> AsByteSlice<T> for U where
    T: ToByteSlice,
    U: AsRef<[T]> + ?Sized

impl<T, U> AsMutByteSlice<T> for U where
    T: ToMutByteSlice,
    U: AsMut<[T]> + ?Sized

impl<U> AsMutSliceOf for U where
    U: AsMut<[u8]> + ?Sized

impl<U> AsSliceOf for U where
    U: AsRef<[u8]> + ?Sized

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

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

impl<T> CallHasher for T where
    T: Hash

impl<S> Codec for S where
    S: Encode + Decode
[src]

impl<T> DecodeAll for T where
    T: Decode
[src]

impl<T> DecodeLimit for T where
    T: Decode
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> DynClone for T where
    T: Clone
[src]

impl<'_, '_, T> EncodeLike<&'_ &'_ T> for T where
    T: Encode
[src]

impl<'_, T> EncodeLike<&'_ T> for T where
    T: Encode
[src]

impl<'_, T> EncodeLike<&'_ mut T> for T where
    T: Encode
[src]

impl<T> EncodeLike<Arc<T>> for T where
    T: Encode
[src]

impl<T> EncodeLike<Box<T, Global>> for T where
    T: Encode
[src]

impl<'a, T> EncodeLike<Cow<'a, T>> for T where
    T: Encode + ToOwned
[src]

impl<T> EncodeLike<Rc<T>> for T where
    T: Encode
[src]

impl<T> Error for T where
    T: 'static + Send + Debug + Display

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

impl<S> FullCodec for S where
    S: Decode + FullEncode
[src]

impl<S> FullEncode for S where
    S: Encode + EncodeLike<S>, 
[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> KeyedVec for T where
    T: Codec
[src]

impl<T> MaybeDebug for T where
    T: Debug

impl<T> MaybeDebug for T where
    T: Debug

impl<T> MaybeRefUnwindSafe for T where
    T: RefUnwindSafe

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Ss58Codec for T where
    T: Derive + AsRef<[u8]> + AsMut<[u8]> + Default
[src]

impl<T> ToHex for T where
    T: AsRef<[u8]>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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<Inner, Outer, T> UncheckedFrom<T> for Outer where
    Inner: IsWrappedBy<Outer> + UncheckedFrom<T>,
    Outer: Wraps<Inner = Inner>, 
[src]

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

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