pub async fn get_modern_backend_at(
dir: &DirectoryProxy,
) -> Result<Box<dyn InputDeviceRegistry>, Error>
Expand description
Similar to [get_backend] but looks for the input injection backend inside the directory dir
.
Useful for tests that prefer to connect to FIDL inside a specific test realm, rather than
the default /svc
.
ยงReturns
See [get_backend] for the discussion of the returned values.