You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: manager.rs
    path of file: ./repos/encore/runtimes/core/src/sqldb
    
    the code of the file until where you have to start completion: use anyhow::Context;
use std::collections::HashMap;
use std::sync::Arc;
use tokio_postgres::proxy;

use tokio_postgres::proxy::{AcceptConn, AuthMethod, ClientBouncer, RejectConn};

use crate::encore::runtime::v1 as pb;
use crate::names::EncoreName;
use crate::secrets;
use crate::sqldb::Pool;
use crate::trace::Tracer;

pub struct Manager {
    databases: Arc<HashMap<EncoreName, Arc<Database>>>,
    proxy_port: u16,
}

impl Manager {
    pub fn new(
        clusters: Vec<pb::SqlCluster>,
        creds: &pb::infrastructure::Credentials,
        secrets: &secret
    
    pub fn start_serving(&self) -> tokio::task::JoinHandle<anyhow::Result<()>> {
        let proxy_port = self.proxy_port;
        let manager = proxy::ProxyManager::new(Bouncer {
            databases: self.databases.clone(),
        });

        tokio::spawn(async move {
            let listener = tokio::net::TcpListener::bind(("127.0.0.1", proxy_port))
                .await
                .context("failed to bind proxy listener")?;

            loop {
                let (stream, _) = listener.accept().await?;
                let mgr = manager.clone();
                tokio::spawn(mgr.handle_conn(stream));
            }
        })
    }