pub trait HttpProtocol: RoutableProtocol + HttpMethodGetter {
// Provided method
fn parse_http_method(
prop_mapping: &mut HashMap<&'static str, Box<dyn Any + Send + Sync>>,
) -> Option<Box<dyn DceMethod<Self> + Send + Sync>> { ... }
}
Provided Methods§
fn parse_http_method( prop_mapping: &mut HashMap<&'static str, Box<dyn Any + Send + Sync>>, ) -> Option<Box<dyn DceMethod<Self> + Send + Sync>>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.