pub trait DeviceIdExt {
    // Required method
    fn get_persistent_identifier(&self) -> Option<String>;
}
Expand description

Additional methods on DeviceId that are specific to Windows.

Required Methods§

source

fn get_persistent_identifier(&self) -> Option<String>

Returns an identifier that persistently refers to this specific device.

Will return None if the device is no longer available.

Implementors§