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 UpstreamSelectors also are IntoUpstreamSelector

Required Associated Types§

source

type UpstreamSelector: UpstreamSelector

the type that Self will be transformed into

Required Methods§

source

fn into_upstream(self) -> Self::UpstreamSelector

transform self into the upstream selector

Implementations on Foreign Types§

source§

impl IntoUpstreamSelector for &str

source§

impl IntoUpstreamSelector for String

Implementors§