pub struct PassphraseRequest<'a, T, R: TrezorMessage> {
    pub message: PassphraseRequest,
    pub client: &'a mut Trezor,
    pub result_handler: Box<ResultHandler<'a, T, R>>,
}
Expand description

A passphrase request message sent by the device.

Fields

message: PassphraseRequestclient: &'a mut Trezorresult_handler: Box<ResultHandler<'a, T, R>>

Implementations

Check whether the use is supposed to enter the passphrase on the device or not.

Ack the request with a passphrase and get the next message from the device.

Ack the request without a passphrase to let the user enter it on the device and get the next message from the device.

Trait Implementations

Formats the value using the given formatter. Read more

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.