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
pub use native::NativeTransport as DefaultTransport;
Modules
APDU Transport for native HID
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
function acquires a lock on the device.