logo
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.

Required Associated Types

Error type.

Required Methods

Elect a upstream to process current request.

Implementations on Foreign Types

Implementors