Module coins_ledger::transports[][src]

Ledger transports. Contains native HID and wasm-bindgen Abstract ledger tranport trait with WASM and native HID instantiations.

Re-exports

pub use native::NativeTransport as DefaultTransport;

Modules

native

APDU Transport for native HID

Structs

Ledger

A Ledger device connection. This wraps the default transport type. In native code, this is the hidapi library. When the node or browser feature is selected, it is a Ledger JS transport library.

Traits

LedgerAsync

An asynchronous interface to the Ledger device. It is critical that the device have only one connection active, so the init function acquires a lock on the device.