pub struct TlsConnectorService { /* private fields */ }
Expand description
Connector service using rustls
.
Trait Implementations§
source§impl Clone for TlsConnectorService
impl Clone for TlsConnectorService
source§fn clone(&self) -> TlsConnectorService
fn clone(&self) -> TlsConnectorService
Returns a copy of the value. Read more
1.6.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<R, IO> Service<Connection<R, IO>> for TlsConnectorServicewhere
R: Host,
IO: ActixStream,
impl<R, IO> Service<Connection<R, IO>> for TlsConnectorServicewhere
R: Host,
IO: ActixStream,
source§type Response = Connection<R, TlsStream<IO>>
type Response = Connection<R, TlsStream<IO>>
Responses given by the service.
source§fn poll_ready(&self, _: &mut Context<'_>) -> Poll<Result<(), Self::Error>>
fn poll_ready(&self, _: &mut Context<'_>) -> Poll<Result<(), Self::Error>>
Returns
Ready
when the service is able to process requests. Read moresource§fn call(&self, connection: Connection<R, IO>) -> Self::Future
fn call(&self, connection: Connection<R, IO>) -> Self::Future
Process the request and return the response asynchronously. Read more
Auto Trait Implementations§
impl Freeze for TlsConnectorService
impl !RefUnwindSafe for TlsConnectorService
impl Send for TlsConnectorService
impl Sync for TlsConnectorService
impl Unpin for TlsConnectorService
impl !UnwindSafe for TlsConnectorService
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<S, Req> IntoService<S, Req> for Swhere
S: Service<Req>,
impl<S, Req> IntoService<S, Req> for Swhere
S: Service<Req>,
§fn into_service(self) -> S
fn into_service(self) -> S
Convert to a
Service