1 2 3 4 5 6 7 8
use super::flightsql_client::Client; use anyhow::Result; use async_trait::async_trait; #[async_trait] pub trait FlightSQLClientFactory: Send + Sync { async fn make_client(&self) -> Result<Client>; }