pub struct TransportNativeHID { /* private fields */ }

Implementations

Get a list of ledger devices available

Create a new HID transport, connecting to the first ledger found

Warning

Opening the same device concurrently will lead to device lock after the first handle is closed see issue

Open a specific ledger device

Note

No checks are made to ensure the device is a ledger device

Warning

Opening the same device concurrently will lead to device lock after the first handle is closed see issue

Trait Implementations

Error defined by Transport used

The concrete type containing the APDUAnswer

Send a command with the given transport and retrieve an answer or a transport error

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.