pub async fn wait_for_block_device(
matchers: &[BlockDeviceMatcher<'_>],
) -> Result<PathBuf>
Expand description
Waits for a block device to appear in /dev/class/block
that meets all of the requirements of
matchers
. Returns the path to the matched block device.