pub struct SharedHttpConnector(_);
Expand description
A shared HttpConnector
implementation.
Implementations§
sourcepub fn new(connection: impl HttpConnector + 'static) -> Self
pub fn new(connection: impl HttpConnector + 'static) -> Self
Returns a new SharedHttpConnector
.
Trait Implementations§
source§fn clone(&self) -> SharedHttpConnector
fn clone(&self) -> SharedHttpConnector
Returns a copy 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§fn call(&self, request: HttpRequest) -> BoxFuture<HttpResponse>
fn call(&self, request: HttpRequest) -> BoxFuture<HttpResponse>
Asynchronously converts a request into a response.
Auto Trait Implementations§
Blanket Implementations§
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more