Searched refs:with_conn (Results 1 – 2 of 2) sorted by relevance
48 let mut client = ClientBuilder::new().with_conn(Arc::new(conn)).build()?; in main()
173 pub fn with_conn(mut self, conn: Arc<dyn Conn + Send + Sync>) -> Self { in with_conn() method