Crate poolite [] [src]

poolite

A lite threadpool library written for Rust.

Usage

On Cargo.toml:

 [dependencies]
 poolite = "0.6.4"

Documentation

or

  • Run cargo doc --open after modified the toml file.

Examples

Structs

Pool

The Pool struct.

PoolError

The error type for the pool's run() if the pool spawning the daemon thread fails.

Traits

IntoIOResult

Into std::io::Result<Pool> for Result<Pool, PoolError>

IntoPool

Into Pool for Result<Pool, PoolError>

Runable

The Runable trait for FnOnce()

Type Definitions

Task

The Task Box