pub trait UpstreamInstance: Send + Sync {
// Required methods
fn on_transport_failure(&self, address: &str);
fn on_response(&self, address: &str, status: StatusCode);
fn completed(&self) -> i32;
}Expand description
Trait for upstream instance, used to handle the upstream instance lifecycle.