Crate ql2

Source
Expand description

RethinkDB protocol implementation in Rust

Re-exports§

pub use prost;

Modules§

datum
Nested message and enum types in Datum.
frame
Nested message and enum types in Frame.
query
Nested message and enum types in Query.
response
Nested message and enum types in Response.
term
Nested message and enum types in Term.
version_dummy
Nested message and enum types in VersionDummy.

Structs§

Backtrace
Datum
A [Datum] is a chunk of data that can be serialized to disk or returned to the user in a Response. Currently we only support JSON types, but we may support other types in the future (e.g., a date type or an integer type).
Frame
A backtrace frame (see backtrace in Response below)
Query
You send one of:
Response
You get back a response with the same [token] as your query.
Term
A [Term] is either a piece of data (see Datum above), or an operator and its operands. If you have a [Datum], it’s stored in the member [datum]. If you have an operator, its positional arguments are stored in [args] and its optional arguments are stored in [optargs].
VersionDummy
We need to wrap it like this for some