Trait salvo_extra::proxy::Upstreams
source · [−]pub trait Upstreams: Send + Sync + 'static {
type Error;
fn elect(&self) -> Result<&str, Self::Error>;
}
Available on crate feature
proxy
only.Expand description
Upstreams trait.