Crate poolite [] [src]

poolite

A lite threadpool library written for Rust.

Usage

On Cargo.toml:

 [dependencies]
 poolite = "0.6.1"

or

 [dependencies]
 poolite = { git = "https://github.com/biluohc/poolite",branch = "master", version = "0.6.1" }

Examples

Structs

Pool

The Pool struct.

PoolError

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

Task

The Task struct

Traits

IntoIOResult

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

IntoPool

Into Pool for Result<Pool, PoolError>

IntoTask

To avoid call Box::new() manually by user