Module coins_ledger::transports

source ·
Expand description

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

Re-exports§

Modules§

Structs§

  • 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§

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