[][src]Struct sp_core::crypto::Dummy

pub struct Dummy;

Dummy cryptography. Doesn't do anything.

Trait Implementations

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

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

impl Clone for Dummy[src]

impl CryptoType for Dummy[src]

type Pair = Dummy

The pair key type of this crypto.

impl Default for Dummy[src]

impl Derive for Dummy[src]

impl Eq for Dummy[src]

impl Hash for Dummy[src]

impl Pair for Dummy[src]

type Public = Dummy

The type which is used to encode a public key.

type Seed = Dummy

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

type Signature = Dummy

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 = ()

Error returned from the derive function.

impl PartialEq<Dummy> for Dummy[src]

impl Public for Dummy[src]

impl StructuralEq for Dummy[src]

impl StructuralPartialEq for Dummy[src]

impl<'a> TryFrom<&'a [u8]> for Dummy[src]

type Error = ()

The type returned in the event of a conversion error.

Auto Trait Implementations

impl RefUnwindSafe for Dummy[src]

impl Send for Dummy[src]

impl Sync for Dummy[src]

impl Unpin for Dummy[src]

impl UnwindSafe for Dummy[src]

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<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) -> &T[src]

Get a reference to the inner from the outer.

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

Get a mutable reference to the inner from the outer.

impl<T> MaybeRefUnwindSafe for T where
    T: RefUnwindSafe
[src]

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, 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>,