pub trait CloneCompressRequest {
    // Required method
    fn clone_request_compressor(&self) -> Box<dyn CompressRequest>;
}
Available on crate feature http-body-1-x only.
Expand description

Enables CompressRequest implementors to be cloned.

Required Methods§

source

fn clone_request_compressor(&self) -> Box<dyn CompressRequest>

Clone this request compressor.

Implementors§

source§

impl<T> CloneCompressRequest for T
where T: CompressRequest + Clone + 'static,