pub async fn find_partition_in(
dir: &DirectoryProxy,
matcher: PartitionMatcher,
timeout: MonotonicDuration,
) -> Result<ControllerProxy, Error>
Expand description
Waits for a partition to appear in [dir
] that matches the fields in [matcher
]. Returns the
topological path of the partition if found. Returns an error after the timeout duration
expires.