new_future_client

Function new_future_client 

Source
pub fn new_future_client<T>(
    client_future: impl Future<Output = Result<T, Error>> + 'static,
) -> T
where T: FromClientHook,
Expand description

Creates a Client from a future that resolves to a Client.

Any calls that arrive before the resolution are accumulated in a queue.