pub trait HttpSelectorAlg {
type Selector;
// Required methods
fn http_get(&self) -> Self::Selector;
fn http_post(&self) -> Self::Selector;
fn http_path(&self, path: &str) -> Self::Selector;
fn http_prefix(&self, prefix: &str) -> Self::Selector;
}Expand description
Describes HTTP selectors independently of route composition.
Required Associated Types§
Required Methods§
Sourcefn http_prefix(&self, prefix: &str) -> Self::Selector
fn http_prefix(&self, prefix: &str) -> Self::Selector
Interprets a path-prefix selector.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".