[][src]Trait dgraph_tonic::IClient

pub trait IClient: Debug + Send + Sync {
    type Client: ILazyClient<Channel = Self::Channel>;
    type Channel: ILazyChannel;
    fn client(&self) -> Self::Client;
fn clients(self) -> Vec<Self::Client>; }

Marker for client variant implementation

Associated Types

type Client: ILazyClient<Channel = Self::Channel>

type Channel: ILazyChannel

Loading content...

Required methods

fn client(&self) -> Self::Client

Return lazy Dgraph gRPC client

fn clients(self) -> Vec<Self::Client>

consume self and return all lazy clients

Loading content...

Implementors

Loading content...