pub struct Curl { /* private fields */ }
Available on crate features blocking-client and http-client and http-client-curl only.
Expand description

A utility to abstract interactions with curl handles.

Trait Implementations§

Returns the “default value” for a type. Read more
A type providing headers line by line.
A type providing the response.
A type allowing to write the content to post.
Initiate a GET request to url provided the given headers, where base_url is so that base_url + tail == url. Read more
Initiate a POST request to url providing with the given headers, where base_url is so that base_url + tail == url. Read more
Pass config which can deserialize in the implementation’s configuration, as documented separately. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.