pub struct ReqwestBlockingClient(/* private fields */);Expand description
Synchronous reqwest blocking Client wrapper.
See the crate-level documentation for usage instructions.
Trait Implementations§
Source§impl Clone for ReqwestBlockingClient
impl Clone for ReqwestBlockingClient
Source§fn clone(&self) -> ReqwestBlockingClient
fn clone(&self) -> ReqwestBlockingClient
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReqwestBlockingClient
impl Debug for ReqwestBlockingClient
Source§impl Default for ReqwestBlockingClient
impl Default for ReqwestBlockingClient
Source§fn default() -> ReqwestBlockingClient
fn default() -> ReqwestBlockingClient
Returns the “default value” for a type. Read more
Source§impl From<Client> for ReqwestBlockingClient
impl From<Client> for ReqwestBlockingClient
Source§impl SyncHttpClient for ReqwestBlockingClient
impl SyncHttpClient for ReqwestBlockingClient
Source§type Error = HttpClientError<Error>
type Error = HttpClientError<Error>
Error type returned by HTTP client.
Source§fn call(&self, request: HttpRequest) -> Result<HttpResponse, Self::Error>
fn call(&self, request: HttpRequest) -> Result<HttpResponse, Self::Error>
Perform a single HTTP request.
Auto Trait Implementations§
impl Freeze for ReqwestBlockingClient
impl !RefUnwindSafe for ReqwestBlockingClient
impl Send for ReqwestBlockingClient
impl Sync for ReqwestBlockingClient
impl Unpin for ReqwestBlockingClient
impl UnsafeUnpin for ReqwestBlockingClient
impl !UnwindSafe for ReqwestBlockingClient
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more