Struct solana_remote_wallet::remote_keypair::RemoteKeypair [−][src]
pub struct RemoteKeypair { pub wallet_type: RemoteWalletType, pub derivation_path: DerivationPath, pub pubkey: Pubkey, pub path: String, }
Fields
wallet_type: RemoteWalletType
derivation_path: DerivationPath
pubkey: Pubkey
path: String
Implementations
impl RemoteKeypair
[src]
impl RemoteKeypair
[src]pub fn new(
wallet_type: RemoteWalletType,
derivation_path: DerivationPath,
confirm_key: bool,
path: String
) -> Result<Self, RemoteWalletError>
[src]
wallet_type: RemoteWalletType,
derivation_path: DerivationPath,
confirm_key: bool,
path: String
) -> Result<Self, RemoteWalletError>
Trait Implementations
impl Signer for RemoteKeypair
[src]
impl Signer for RemoteKeypair
[src]fn try_pubkey(&self) -> Result<Pubkey, SignerError>
[src]
fn try_pubkey(&self) -> Result<Pubkey, SignerError>
[src]Fallibly gets the implementor’s public key
fn try_sign_message(&self, message: &[u8]) -> Result<Signature, SignerError>
[src]
fn try_sign_message(&self, message: &[u8]) -> Result<Signature, SignerError>
[src]Fallibly produces an Ed25519 signature over the provided message
bytes.
Auto Trait Implementations
impl RefUnwindSafe for RemoteKeypair
impl !Send for RemoteKeypair
impl !Sync for RemoteKeypair
impl Unpin for RemoteKeypair
impl UnwindSafe for RemoteKeypair
Blanket Implementations
impl<T> AbiExample for T
impl<T> AbiExample for T
pub default fn example() -> T
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,