Trait salvo_proxy::Upstreams
source · pub trait Upstreams: Send + Sync + 'static {
type Error: StdError + Send + Sync + 'static;
// Required method
fn elect(&self) -> Result<&str, Self::Error>;
}Expand description
Upstreams trait.