use crate::error::Error;
use async_trait::async_trait;
use dyn_clone::DynClone;
use std::borrow::Cow;
#[async_trait]
pub trait SolrHost: DynClone {
async fn get_solr_node<'a>(&'a self) -> Result<Cow<'a, str>, Error>;
}
dyn_clone::clone_trait_object!(SolrHost);