Skip to main content

RequestToHttpString

Trait RequestToHttpString 

Source
pub trait RequestToHttpString {
    // Required method
    fn to_http_string(&self) -> Result<String, WWSVCError>;
}
Expand description

Trait for converting a reqwest::Request to a HTTP string.

Required Methods§

Source

fn to_http_string(&self) -> Result<String, WWSVCError>

Converts the reqwest::Request to a HTTP string.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl RequestToHttpString for Request

Implementors§