pub fn serialize_http_method<S>( method: &Method, serializer: S, ) -> Result<S::Ok, S::Error>where S: Serializer,