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

A button request message sent by the device.

Fields

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

Implementations

The type of button request.

The metadata sent with the button request. Ack the request 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.