pub struct WinHttpBackend;Expand description
The backend implementation using WinHTTP.
Trait Implementations§
Source§impl AsyncBackend for WinHttpBackend
Available on crate feature async only.
impl AsyncBackend for WinHttpBackend
Available on crate feature
async only.Source§type AsyncClient = WinHttpAsyncClient
type AsyncClient = WinHttpAsyncClient
The type of client this backend creates.
Source§async fn create_async_client(
&self,
options: ClientOptions,
) -> NyquestResult<Self::AsyncClient>
async fn create_async_client( &self, options: ClientOptions, ) -> NyquestResult<Self::AsyncClient>
Creates a new async client with the given options.
Source§impl BlockingBackend for WinHttpBackend
Available on crate feature blocking only.
impl BlockingBackend for WinHttpBackend
Available on crate feature
blocking only.Source§type BlockingClient = WinHttpBlockingClient
type BlockingClient = WinHttpBlockingClient
The type of client this backend creates.
Source§fn create_blocking_client(
&self,
options: ClientOptions,
) -> NyquestResult<Self::BlockingClient>
fn create_blocking_client( &self, options: ClientOptions, ) -> NyquestResult<Self::BlockingClient>
Creates a new blocking client with the given options.
Source§impl Clone for WinHttpBackend
impl Clone for WinHttpBackend
Source§fn clone(&self) -> WinHttpBackend
fn clone(&self) -> WinHttpBackend
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 moreAuto Trait Implementations§
impl Freeze for WinHttpBackend
impl RefUnwindSafe for WinHttpBackend
impl Send for WinHttpBackend
impl Sync for WinHttpBackend
impl Unpin for WinHttpBackend
impl UnsafeUnpin for WinHttpBackend
impl UnwindSafe for WinHttpBackend
Blanket Implementations§
Source§impl<A> AnyAsyncBackend for A
impl<A> AnyAsyncBackend for A
Source§fn create_async_client(
&self,
options: ClientOptions,
) -> Pin<Box<dyn Future<Output = Result<Arc<dyn AnyAsyncClient>, Error>> + Send + '_>>
fn create_async_client( &self, options: ClientOptions, ) -> Pin<Box<dyn Future<Output = Result<Arc<dyn AnyAsyncClient>, Error>> + Send + '_>>
Creates a new async client with the given options.
Source§impl<B> AnyBlockingBackend for Bwhere
B: BlockingBackend,
impl<B> AnyBlockingBackend for Bwhere
B: BlockingBackend,
Source§fn create_blocking_client(
&self,
options: ClientOptions,
) -> Result<Arc<dyn AnyBlockingClient>, Error>
fn create_blocking_client( &self, options: ClientOptions, ) -> Result<Arc<dyn AnyBlockingClient>, Error>
Creates a new blocking client with the given options.
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