pub fn try_clone(&self) -> Option<Request> {
        let body = match self.body.as_ref() {
            Some(ref body) => Some(body.try_clone()?),
            None => None,
        };
        let mut req = Request::new(self.method().clone(), self.url().clone());
        *req.timeout_mut() = self.timeout().cloned();
        *req.headers_mut() = self.headers().clone();
        req.body = body;
        Some(req)
    }
/// Attempt to clone the request.
///
/// `None` is returned if the request can not be cloned, i.e. if the body is a stream.
Attempt to clone the request.
`None` is returned if the request can not be cloned, i.e. if the body is a stream.
Attempt to clone the request . ` None ` is returned if the request can not be cloned i . e . if the body is a stream .
pub fn try_clone(&self) -> Option<Request> {
        let body = match self.body.as_ref() {
            Some(ref body) => Some(body.try_clone()?),
            None => None,
        };
        let mut req = Request::new(self.method().clone(), self.url().clone());
        *req.timeout_mut() = self.timeout().cloned();
        *req.headers_mut() = self.headers().clone();
        req.body = body;
        Some(req)
    }
pub fn try_clone ( & self ) -> Option < Request > { let body = match self . body . as_ref ( ) { Some ( ref body ) => Some ( body . try_clone ( ) ? ) , None => None , } ; let mut req = Request :: new ( self . method ( ) . clone ( ) , self . url ( ) . clone ( ) ) ; * req . timeout_mut ( ) = self . timeout ( ) . cloned ( ) ; * req . headers_mut ( ) = self . headers ( ) . clone ( ) ; req . body = body ; Some ( req ) }
Attempt to clone the request.
Attempt to clone the request .
&self
&self