Trait CloneInput
pub trait CloneInput:
Sealed<()>
+ Send
+ Sync
+ 'static {
// Required method
fn clone_input(
&self,
req: &Request<RetryBody>,
) -> Option<Request<RetryBody>>;
}
Expand description
A trait that is used to umbrella-cover all possible implementation kinds for the cloning functionality.
Required Methods§
fn clone_input(&self, req: &Request<RetryBody>) -> Option<Request<RetryBody>>
fn clone_input(&self, req: &Request<RetryBody>) -> Option<Request<RetryBody>>
Clone the input request if necessary.
See Policy::clone_input
for more details.