Trait grpc::ClientStub
source · pub trait ClientStub: Sized {
fn with_client(grpc_client: Arc<Client>) -> Self;
}
Expand description
Trait implemented by XxxClient
structs for Xxx
trait.
Required Methods
sourcefn with_client(grpc_client: Arc<Client>) -> Self
fn with_client(grpc_client: Arc<Client>) -> Self
Create a client stub using given Client
object.