use std::sync::Arc;
use async_std::channel::{Sender};
use async_std::task::JoinHandle;
use async_std::sync::Mutex;
mod command;
mod connection;
mod implementation;
mod main;
use command::Command;
use connection::PoolConn;
use main::PoolState;
#[derive(Debug, Clone)]
struct Options {
}
#[derive(Debug)]
pub(crate) struct PoolInner {
chan: Sender<Command>,
task: Mutex<Option<JoinHandle<()>>>,
state: Arc<PoolState>,
}
#[derive(Debug, Clone)]
pub struct Client {
#[allow(dead_code)] options: Arc<Options>,
pub(crate) inner: Arc<PoolInner>,
}