Expand description
Low-level transport implementations for communication with ledger devices and nano apps
Transports are gated by transport_X
features, while GenericTransport and
GenericDevice provide an abstraction over enabled transports.
§Safety
UsbTransport (and thus GenericTransport when transport_usb
feature is enabled)
is not Send
or Sync
, however this is marked as such to appease async_trait
…
Once async_trait
has stabilised transports can be marked correctly.
(This is also implemented under the unstable_async_trait
feature)
Until then, use LedgerProvider for a Sync + Send
interface or
be super sure you’re not going to call transports from a multi-threaded context.
Structs§
- BLE connected ledger device
- BLE specific device information
- Transport for listing and connecting to BLE connected Ledger devices
- GenericTransport for device communication, abstracts underlying transport types
- TCP based device
- TCP device information
- TCP transport implementation for interacting with Speculos via the TCP APDU socket
- USB HID based device
- Basic USB device information
- USB HID based transport
Enums§
- GenericDevice for communication with ledger devices, abstracts underlying transport types
Traits§
- Transport trait provides an abstract interface for transport implementations