Trait switchboard_on_demand::prelude::AsSigner
source · pub trait AsSigner: Send + Sync {
// Required method
fn as_signer(&self) -> &dyn Signer;
// Provided method
fn signer_pubkey(&self) -> Pubkey { ... }
}
Expand description
A trait for types that can act as signers for transactions.