pub fn wait(target: Target, timeout: Duration) -> Result<Device>
Poll until the target is connected, or the timeout elapses.