Skip to main content

Module async_client

Module async_client 

Source
Expand description

High-level asynchronous client for Hyper database.

This module provides AsyncClient, the async version of Client. It uses tokio for async I/O operations.

Structs§

AsyncClient
An asynchronous client for Hyper database.
AsyncCopyInWriter
Async COPY IN writer for bulk data insertion.
AsyncCopyInWriterOwned
Owned-handle variant of AsyncCopyInWriter that holds an Arc<Mutex<_>> to the underlying connection instead of a borrow. Used by callers that need a 'static-lifetime writer — e.g. N-API classes that can’t carry borrowed references across JS callbacks.
AsyncPreparedStatement
An async prepared statement.