[][src]Crate dgraph_tonic

Structs

Certificate

Represents a X509 certificate.

Channel

A default batteries included transport channel.

Check
ClientTlsConfig

Configures TLS settings for endpoints.

Endpoint

Channel builder.

Endpoints

Helper struct for endpoints input argument in new client function. Allows to create client with one or more endpoints.

Identity

Represents a private key and X509 certificate.

LoginRequest
Mutation
Operation
Payload

Worker services.

Request
Response
Status

A gRPC status describing the result of an RPC call.

TxnContext
TxnState

Transaction state. Hold txn context and Dgraph client for communication.

TxnVariant

Type state for Transaction variants

Version

Enums

ClientError

Possible errors for client

DgraphError

Possible Dgraph errors

Traits

Mutate

Allowed mutation operation in Dgraph

Query

All Dgaph transaction types can performe a queries

Type Definitions

BestEffortTxn

Best effort variant of read only transaction

Client

Default client.

MutatedTxn

Transaction variant with mutations support.

ReadOnlyTxn

ReadOnly variant of transaction

Result
StdError
Txn

Default transaction state