Enum solders_keypair::signer::Signer
source · pub enum Signer {
KeypairWrapper(Keypair),
PresignerWrapper(Presigner),
NullSignerWrapper(NullSigner),
}
Variants§
Trait Implementations§
source§impl<'source> FromPyObject<'source> for Signer
impl<'source> FromPyObject<'source> for Signer
source§impl SignerTraitWrapper for Signer
impl SignerTraitWrapper for Signer
fn pubkey(&self) -> Pubkey
fn try_pubkey(&self) -> Result<Pubkey, SignerError>
fn sign_message(&self, message: &[u8]) -> Signature
fn try_sign_message(&self, message: &[u8]) -> Result<Signature, SignerError>
fn is_interactive(&self) -> bool
source§impl ToSignerOriginal for Signer
impl ToSignerOriginal for Signer
fn to_inner(&self) -> Box<dyn SignerTrait>
Auto Trait Implementations§
impl RefUnwindSafe for Signer
impl Send for Signer
impl Sync for Signer
impl Unpin for Signer
impl UnwindSafe for Signer
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more