[][src]Struct substrate_keybase_keystore::Keystore

pub struct Keystore<T: Runtime, P: Pair<Seed = [u8; 32]>> { /* fields omitted */ }

Implementations

impl<T: Runtime, P: Pair<Seed = [u8; 32]>> Keystore<T, P> where
    T::AccountId: Into<T::Address>,
    <<T::Extra as SignedExtra<T>>::Extra as SignedExtension>::AdditionalSigned: Send + Sync,
    T::Signature: From<P::Signature>,
    <T::Signature as Verify>::Signer: From<P::Public> + IdentifyAccount<AccountId = T::AccountId>, 
[src]

pub async fn open(path: PathBuf) -> Result<Self, Error>[src]

Trait Implementations

impl<T: Runtime, P: Pair<Seed = [u8; 32]>> Keystore<T> for Keystore<T, P> where
    T::AccountId: Into<T::Address>,
    <<T::Extra as SignedExtra<T>>::Extra as SignedExtension>::AdditionalSigned: Send + Sync,
    T::Signature: From<P::Signature>,
    <T::Signature as Verify>::Signer: From<P::Public> + IdentifyAccount<AccountId = T::AccountId>, 
[src]

type Key = Key<T, P>

type Error = Error

Auto Trait Implementations

impl<T, P> !RefUnwindSafe for Keystore<T, P>

impl<T, P> Send for Keystore<T, P> where
    <T as System>::AccountId: Send,
    <T as System>::Index: Send

impl<T, P> Sync for Keystore<T, P> where
    <T as System>::AccountId: Sync,
    <T as System>::Index: Sync

impl<T, P> Unpin for Keystore<T, P> where
    P: Unpin,
    <T as System>::AccountId: Unpin,
    <T as System>::Index: Unpin

impl<T, P> UnwindSafe for Keystore<T, P> where
    P: UnwindSafe,
    <T as System>::AccountId: UnwindSafe,
    <T as System>::Index: UnwindSafe

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> CheckedConversion for T

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

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

impl<T> IsType<T> for T

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

fn from_ref(outer: &Outer) -> &T

Get a reference to the inner from the outer.

fn from_mut(outer: &mut Outer) -> &mut T

Get a mutable reference to the inner from the outer.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SaturatedConversion for T

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

impl<T, S> UniqueSaturatedInto<T> for S where
    S: TryInto<T>,
    T: Bounded

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