Expand description
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: theDataSourcestruct holds the parameters needed byConnectorsconnector: aConnectordefines how the driver communicates with an ArangoDB serverauth: types used to specify the authentication method and credentialsmethod: defines the traitsMethod,PrepareandExecutethat need to be implemented by all methods for the ArangoDB REST API in order that they can be executed by aConnectionof aConnector.query: theQuerystruct 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 Connectors while the methods of the REST API are
implemented only once.