pub struct Trezor { /* private fields */ }
Expand description

A Trezor client.

Implementations

Get the model of the Trezor device.

Get the features of the Trezor device.

Sends a message and returns the raw ProtoMessage struct that was responded by the device. This method is only exported for users that want to expand the features of this library f.e. for supporting additional coins etc.

Sends a message and returns a TrezorResponse with either the expected response message, a failure or an interaction request. This method is only exported for users that want to expand the features of this library f.e. for supporting additional coins etc.

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.