docs.rs failed to build mobc-tonic-0.2.3
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build:
mobc-tonic-0.2.4
mobc-tonic
A connection pool for tonic GRPC client.
Usage:
First, instantiate the implementation for your client:
use ;
use ;
use GreeterClient;
instantiate_client_pool!;
This will generate the connection pool manager for your GRPC client.
Then you could use the generated ClientPool
:
let client_config: ClientConfig =
from_str.unwrap;
let pool = new;
let mut client = pool.get.await.unwrap;
let reply = client
.say_hello
.await
.unwrap
.into_inner;
License
mobc-tonic
is distributed under the terms of MIT.
See LICENSE for details.
Copyright 2021 Tyr Chen