(&self)
| 205 | B: Clone, |
| 206 | { |
| 207 | fn clone(&self) -> Self { |
| 208 | Self { |
| 209 | body: self.body.clone(), |
| 210 | ext: Extension(Box::new(_Extension::clone(&*self.ext.0))), |
| 211 | } |
| 212 | } |
| 213 | } |
| 214 | |
| 215 | // a separate extension type contain information can not be carried by http::Request. the goal is |