pub async fn find_block_device<C, Iter>(
matchers: &[BlockDeviceMatcher<'_>],
partitions: Iter,
) -> Result<Option<C>>where
C: BlockConnector,
Iter: Iterator<Item = C>,
Expand description
Returns the first partition in partitions
matching all of matchers.
Ok(None) indicates no
partitions matched.