Crate rincon_core [−] [src]
Core types of the Rincon ArangoDB driver
rincon_core
defines types, traits and constants that are common to the
other crates of the rincon driver project. This core API enables the modular
design of the Rincon ArangoDB driver.
The main parts of the API are:
datasource
: theDataSource
struct holds the parameters needed byConnector
sconnector
: aConnector
defines how the driver communicates with an ArangoDB serverauth
: types used to specify the authentication method and credentialsmethod
: defines the traitsMethod
,Prepare
andExecute
that need to be implemented by all methods for the ArangoDB REST API in order that they can be executed by aConnection
of aConnector
.query
: theQuery
struct holds AQL-queries with query-parameterstypes
: defines common types, such as Url, Value, JsonValue and JsonStringarango
: defines constants of values used by the ArangoDB REST API
By defining this core API the driver can be easily extended with new methods
that may be added in newer versions of ArangoDB and use different
implementations of Connector
s while the methods of the REST API are
implemented only once.
Modules
api |
The core API of the rincon driver. |
arango |
Constants definitions of values that are defined by the ArangoDB REST API. |