Skip to main content

verify_device

Function verify_device 

Source
pub async fn verify_device(
    host: &Host,
    device_id: &str,
) -> Result<DevicePlatform>
Expand description

Verify that a device exists and return its platform.

ยงErrors

Returns an error if the device cannot be found on the inferred platform.