pub async fn wait_for_block_device(
matchers: &[BlockDeviceMatcher<'_>],
stream: ServiceInstanceStream<PartitionServiceMarker>,
) -> Result<PartitionServiceProxy>
Expand description
Waits for the first partition service instance that meets all of the requirements of matchers
.
Returns the path to the matched block device.
TODO(https://fxbug.dev/339491886): Remove when all clients are ported to
`wait_for_block_device_devfs.