deadpool/managed/
reexports.rspub use crate::{
managed::{Metrics, PoolConfig, Status, Timeouts},
Runtime,
};
#[macro_export]
macro_rules! managed_reexports {
($crate_name:literal, $Manager:ty, $Wrapper:ty, $Error:ty, $ConfigError:ty) => {
#[doc=concat!("Type alias for using [`deadpool::managed::Pool`] with [`", $crate_name, "`].")]
pub type Pool = deadpool::managed::Pool<$Manager, $Wrapper>;
#[doc=concat!("Type alias for using [`deadpool::managed::PoolBuilder`] with [`", $crate_name, "`].")]
pub type PoolBuilder = deadpool::managed::PoolBuilder<$Manager, $Wrapper>;
#[doc=concat!("Type alias for using [`deadpool::managed::BuildError`] with [`", $crate_name, "`].")]
pub type BuildError = deadpool::managed::BuildError;
#[doc=concat!("Type alias for using [`deadpool::managed::CreatePoolError`] with [`", $crate_name, "`].")]
pub type CreatePoolError = deadpool::managed::CreatePoolError<$ConfigError>;
#[doc=concat!("Type alias for using [`deadpool::managed::PoolError`] with [`", $crate_name, "`].")]
pub type PoolError = deadpool::managed::PoolError<$Error>;
#[doc=concat!("Type alias for using [`deadpool::managed::Object`] with [`", $crate_name, "`].")]
pub type Object = deadpool::managed::Object<$Manager>;
#[doc=concat!("Type alias for using [`deadpool::managed::Hook`] with [`", $crate_name, "`].")]
pub type Hook = deadpool::managed::Hook<$Manager>;
#[doc=concat!("Type alias for using [`deadpool::managed::HookError`] with [`", $crate_name, "`].")]
pub type HookError = deadpool::managed::HookError<$Error>;
};
}