Module reexports

Source
Expand description

This module contains all things that should be reexported by backend implementations in order to avoid direct dependencies on the deadpool crate itself.

Crates based on deadpool::managed should include this line:

pub use deadpool::managed::reexports::*;
deadpool::managed_reexports!(
    "name_of_crate",
    Manager,
    Object<Manager>,
    Error,
    ConfigError
);

Re-exports§

pub use crate::managed::Metrics;
pub use crate::managed::PoolConfig;
pub use crate::managed::Status;
pub use crate::managed::Timeouts;

Enums§

Runtime
Enumeration for picking a runtime implementation.