Re-exportsยง
use std::mem::take;๐use std::sync::Arc;๐use std::sync::Mutex;๐use std::sync::atomic::AtomicUsize;๐use std::sync::atomic::Ordering;๐use std::thread;๐use std::thread::JoinHandle;๐use async_channel::QueueStrategy;๐use async_channel::Receiver;๐use async_channel::RecvError;๐use async_channel::Sender;๐use futures::TryFutureExt;๐use futures::channel::oneshot;๐use oneshot::Sender as ResultSender;๐use rocksdb::Direction;๐use tuwunel_core::Error;๐use tuwunel_core::Result;๐use tuwunel_core::Server;๐use tuwunel_core::debug;๐use tuwunel_core::debug;๐use tuwunel_core::err;๐use tuwunel_core::error;๐use tuwunel_core::error;๐use tuwunel_core::implement;๐use tuwunel_core::result::DebugInspect;๐use tuwunel_core::smallvec::SmallVec;๐use tuwunel_core::trace;๐use tuwunel_core::utils::sys::compute::get_affinity;๐use tuwunel_core::utils::sys::compute::set_affinity;๐use self::configure::configure;๐use crate::Handle;๐use crate::Map;๐use crate::keyval::KeyBuf;๐use crate::stream;๐
Modulesยง
- configure ๐
Structsยง
- Get ๐
- Carries a batched point query to a pool worker.
- Pool ๐
- Runs blocking database reads away from asynchronous runtime workers.
- Seek ๐
- Carries an initial iterator seek to a pool worker.
Enumsยง
- Cmd ๐
- Represents work accepted by the database thread pool.
Constantsยง
- BATCH_
INLINE ๐ - QUEUE_
LIMIT ๐ - WORKER_
LIMIT ๐ - WORKER_
NAME ๐ - WORKER_
STACK_ ๐SIZE
Functionsยง
- handle_
batch ๐ - handle_
get ๐ - handle_
iter ๐ - into_
recv_ ๐get - into_
recv_ ๐seek - into_
send_ ๐get - into_
send_ ๐seek - worker_
handle ๐
Type Aliasesยง
- Batch
Query ๐ - Stores the owned keys in a batched point query.
- Batch
Result ๐ - Stores the handles returned by a batched point query.
- Result
Handle ๐ - Represents one point-query result handle.