fn clone()

in akd_mysql/src/mysql.rs [115:132]


    fn clone(&self) -> Self {
        Self {
            opts: self.opts.clone(),
            pool: self.pool.clone(),
            is_healthy: self.is_healthy.clone(),
            cache: self.cache.clone(),
            trans: LocalTransaction::new(),

            num_reads: self.num_reads.clone(),
            read_call_stats: self.read_call_stats.clone(),
            num_writes: self.num_writes.clone(),
            write_call_stats: self.write_call_stats.clone(),
            time_read: self.time_read.clone(),
            time_write: self.time_write.clone(),

            tunable_insert_depth: self.tunable_insert_depth,
        }
    }