pub trait ClientExt {
// Required methods
fn resumable(self) -> Client;
fn resumable_with_config(self, config: Config) -> Client;
}Expand description
Extension to reqwest::Client that provides methods to convert it into a resumable Client
Required Methods§
Sourcefn resumable(self) -> Client
fn resumable(self) -> Client
Convert a reqwest::Client into a
reqwest_partial_retry::Client
Sourcefn resumable_with_config(self, config: Config) -> Client
fn resumable_with_config(self, config: Config) -> Client
Convert a reqwest::Client into a
reqwest_partial_retry::Client with a config
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".