Trait switchboard_on_demand::prelude::ToKeypair

source ·
pub trait ToKeypair: Send + Sync {
    // Required method
    fn keypair(&self) -> &Keypair;
}

Required Methods§

source

fn keypair(&self) -> &Keypair

Implementations on Foreign Types§

source§

impl ToKeypair for Arc<Arc<Arc<Keypair>>>

source§

fn keypair(&self) -> &Keypair

source§

impl ToKeypair for Arc<Arc<Keypair>>

source§

fn keypair(&self) -> &Keypair

source§

impl ToKeypair for Arc<Keypair>

source§

fn keypair(&self) -> &Keypair

source§

impl<'a> ToKeypair for &'a Arc<Keypair>

source§

fn keypair(&self) -> &Keypair

source§

impl<'a, T> ToKeypair for Arc<RwLockReadGuard<'a, T>>
where T: ToKeypair + ?Sized,

source§

fn keypair(&self) -> &Keypair

source§

impl<'a, T> ToKeypair for RwLockReadGuard<'a, T>
where T: ToKeypair + ?Sized,

source§

fn keypair(&self) -> &Keypair

source§

impl<T> ToKeypair for Box<T>
where T: ToKeypair + ?Sized,

source§

fn keypair(&self) -> &Keypair

source§

impl<T> ToKeypair for Guard<Arc<T>>
where T: ToKeypair,

source§

fn keypair(&self) -> &Keypair

Implementors§