Crate r2d2_adbc

Crate r2d2_adbc 

Source
Expand description

r2d2 connection pool manager for ADBC connections.

This crate provides a connection pool manager implementation for ADBC (Arrow Database Connectivity) using the r2d2 connection pooling library.

§Example

use r2d2_adbc::AdbcConnectionManager;

// Create a database instance (implementation-specific)
// let database = ...; // Your ADBC Database implementation

// Create the connection manager
// let manager = AdbcConnectionManager::new(database);

// Create the connection pool
// let pool = r2d2::Pool::new(manager)?;

// Get a connection from the pool
// let conn = pool.get()?;

Structs§

AdbcConnectionManager
An r2d2 connection manager for ADBC connections.
AdbcError
Error wrapper for ADBC errors in the r2d2 context.