Crate dgraph_tonic

Source

Structs§

Certificate
Represents a X509 certificate.
Channel
A default batteries included transport channel.
Check
ClientTlsConfig
Configures TLS settings for endpoints.
ClientVariant
Dgraph client has several variants which offer different behavior.
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.
Latency
LoginRequest
Metrics
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§

EndpointConfig
Allow custom configuration of endpoint
IClient
Marker for client variant implementation
Mutate
Allowed mutation operation in Dgraph
Query
All Dgaph transaction types can performe a queries

Type Aliases§

Client
Default client.
MutationResponse
In Dgraph v1.1.x is mutation response represented as Response object
StdError
Txn
Txn over http
TxnBestEffort
Best effort txn over http
TxnBestEffortType
Best effort variant of read only transaction
TxnMutated
Mutated txn over http
TxnMutatedType
Transaction variant with mutations support.
TxnReadOnly
Readonly txn over http
TxnReadOnlyType
ReadOnly variant of transaction
TxnType
Default transaction state