#[repr(C)]
pub struct Input { /* private fields */ }
Expand description

Interface for text-based input devices.

Implementations

Resets the input device hardware.

The extended_verification parameter is used to request that UEFI performs an extended check and reset of the input device.

Errors
  • DeviceError if the device is malfunctioning and cannot be reset.

Reads the next keystroke from the input device, if any.

Use wait_for_key_event() with the BootServices::wait_for_event() interface in order to wait for a key to be pressed.

Errors
  • DeviceError if there was an issue with the input device

Event to be used with BootServices::wait_for_event() in order to wait for a key to be available

Trait Implementations

Unique protocol identifier.

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

Performs the conversion.

Performs the conversion.

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.