Function devices::usb::backend::fido_backend::hid_utils::verify_is_fido_device
source · pub fn verify_is_fido_device(hidraw: &File) -> Result<()>
Expand description
Verifies that the given hidraw
file handle is a valid FIDO device.
In case it is not, it returns an InvalidHidrawDevice
erro.