spawn_client

Function spawn_client 

Source
pub async fn spawn_client(
    socket: impl ToSocketAddrs,
) -> Result<FloraServiceClient>
Expand description

Spawns a new FloraServiceClient connected to the given socket.

§Errors

Returns anyhow::Error if we can’t initialize the tarpc transport.