Trait hyperdriver::body::TryCloneRequest
source · pub trait TryCloneRequest {
// Required method
fn try_clone_request(&self) -> Option<Self>
where Self: Sized;
}Expand description
Extension trait to help clone a request that contains a Body.
Required Methods§
sourcefn try_clone_request(&self) -> Option<Self>where
Self: Sized,
fn try_clone_request(&self) -> Option<Self>where
Self: Sized,
Try to clone the request. If the body can’t be cloned, None is returned.