Struct solana_remote_wallet::ledger::LedgerWallet [−][src]
pub struct LedgerWallet { pub device: HidDevice, pub pretty_path: String, pub version: FirmwareVersion, }
Ledger Wallet device
Fields
device: HidDevice
pretty_path: String
version: FirmwareVersion
Implementations
impl LedgerWallet
[src]
impl LedgerWallet
[src]pub fn new(device: HidDevice) -> Self
[src]
pub fn get_settings(&self) -> Result<LedgerSettings, RemoteWalletError>
[src]
Trait Implementations
impl RemoteWallet for LedgerWallet
[src]
impl RemoteWallet for LedgerWallet
[src]fn name(&self) -> &str
[src]
fn read_device(
&mut self,
dev_info: &DeviceInfo
) -> Result<RemoteWalletInfo, RemoteWalletError>
[src]
&mut self,
dev_info: &DeviceInfo
) -> Result<RemoteWalletInfo, RemoteWalletError>
fn get_pubkey(
&self,
derivation_path: &DerivationPath,
confirm_key: bool
) -> Result<Pubkey, RemoteWalletError>
[src]
&self,
derivation_path: &DerivationPath,
confirm_key: bool
) -> Result<Pubkey, RemoteWalletError>
fn sign_message(
&self,
derivation_path: &DerivationPath,
data: &[u8]
) -> Result<Signature, RemoteWalletError>
[src]
&self,
derivation_path: &DerivationPath,
data: &[u8]
) -> Result<Signature, RemoteWalletError>
Auto Trait Implementations
impl RefUnwindSafe for LedgerWallet
impl RefUnwindSafe for LedgerWallet
impl Send for LedgerWallet
impl Send for LedgerWallet
impl !Sync for LedgerWallet
impl !Sync for LedgerWallet
impl Unpin for LedgerWallet
impl Unpin for LedgerWallet
impl UnwindSafe for LedgerWallet
impl UnwindSafe for LedgerWallet