Module rust_htslib::tpool

source ·

Re-exports§

  • pub use crate::errors::Error;
  • pub use crate::errors::Result;

Structs§

  • Internal htsThreadPool
  • An HTSlib thread pool. Create a thread pool and use set_thread_pool() methods to share a thread pool across multiple BAM readers & writers. The Rust wrapper holds the htslib thread pool behind a Rc, and a Rc reference to the thread pool is held by each reader / writer so you don’t need to explicitly manage the lifetime of the ThreadPool.