docs.rs failed to build r2d2-alpm-0.2.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
r2d2-alpm
Types and utilities for the spawing of a r2d2::Pool
that handles
multiple connections to an Arch Linux Alpm
database.
Usage
To create a Pool
that delegates Alpm
connections within (for instance)
some Rayon threads:
use Pool;
use AlpmManager;
use *;
let mngr = from_file.unwrap;
let pool = builder.max_size.build.unwrap;
.into_par_iter.for_each;
Like std::sync::Arc
, Pool
is cheap to Clone
, and can be passed
around freely to subthreads.
License: MIT