Crate basex

Source

Modulesยง

client ๐Ÿ”’
compiler
connection ๐Ÿ”’
errors ๐Ÿ”’
query ๐Ÿ”’
resource ๐Ÿ”’
serializer
stream ๐Ÿ”’

Structsยง

ArgumentWriter
Writes argument values using a Connection.
Client
Represents an interface to communicate with the BaseX server. Its main purpose is to send database commands and create queries.
Connection
Responsible for low-level communication with the stream. It handles authentication, sends commands and reads responses.
Query
Server query is composed of XQuery code, which is immutable once created.
WithInfo
Query that has its compiler info collected.
WithoutInfo
Query that has no compiler info collected. Improves query performance due to the reduced overhead.

Enumsยง

ClientError
The error type for the DB operations of the Client, Query and associated structs and traits.

Traitsยง

DatabaseStream
Represents a stream usable for BaseX database Connection.
ToQueryArgument
Makes this type able to be interpreted as XQuery argument value.

Type Aliasesยง

Result
A Result with its Err variant set to ClientError.