Module driver

Module driver 

Source
Expand description

Driver abstraction layer for CQL database connectivity.

Provides a trait-based abstraction over the underlying database driver, enabling testability and future flexibility. The primary implementation uses the scylla crate for Cassandra/ScyllaDB connectivity.

Many types and trait methods are defined ahead of their use in later development phases (REPL, DESCRIBE, COPY, etc.).

Re-exports§

pub use scylla_driver::ScyllaDriver;
pub use types::CqlColumn;
pub use types::CqlResult;
pub use types::CqlRow;
pub use types::CqlValue;

Modules§

scylla_driver
ScyllaDriver — CqlDriver implementation using the scylla crate.
types
CQL value types and result set representations.

Structs§

AggregateMetadata
Metadata about a user-defined aggregate (UDA).
ColumnMetadata
Metadata about a column in a result set.
ConnectionConfig
Configuration for establishing a database connection.
FunctionMetadata
Metadata about a user-defined function (UDF).
KeyspaceMetadata
Metadata about a keyspace.
PreparedId
Opaque handle for a prepared statement.
SslConfig
SSL/TLS configuration options.
TableMetadata
Metadata about a table.
TracingEvent
A single event within a tracing session.
TracingSession
Tracing session data returned by the database.
UdtMetadata
Metadata about a user-defined type (UDT).

Enums§

Consistency
Consistency levels matching CQL specification.

Traits§

CqlDriver
The core driver trait abstracting database operations.