Trait grpc::ClientStubExt

source ·
pub trait ClientStubExt: Sized {
    fn new_plain(host: &str, port: u16, conf: ClientConf) -> grpc_Result<Self>;
    fn new_tls<C: TlsConnector>(
        host: &str,
        port: u16,
        conf: ClientConf
    ) -> grpc_Result<Self>; fn new_plain_unix(addr: &str, conf: ClientConf) -> grpc_Result<Self>; }

Required Methods

Create a plain (non-encrypted) client connected to specified host and port

Create a client connected to specified host and port using TLS.

Create a client connected to specified unix socket.

Implementors