Trait trillium_proxy::upstream::IntoUpstreamSelector
source · pub trait IntoUpstreamSelector {
type UpstreamSelector: UpstreamSelector;
// Required method
fn into_upstream(self) -> Self::UpstreamSelector;
}
Expand description
represents something that can be used as an upstream selector
This primarily exists so &str can be used as a synonym for Url
.
All UpstreamSelector
s also are IntoUpstreamSelector
Required Associated Types§
sourcetype UpstreamSelector: UpstreamSelector
type UpstreamSelector: UpstreamSelector
the type that Self will be transformed into
Required Methods§
sourcefn into_upstream(self) -> Self::UpstreamSelector
fn into_upstream(self) -> Self::UpstreamSelector
transform self into the upstream selector