Function block_utils::get_device_info
source · pub fn get_device_info(device_path: impl AsRef<Path>) -> BlockResult<Device>
Expand description
Returns device information that is gathered with udev.
pub fn get_device_info(device_path: impl AsRef<Path>) -> BlockResult<Device>
Returns device information that is gathered with udev.