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.