pub struct SslConnectorService2<S> { /* private fields */ }Trait Implementations§
Source§impl<S> Clone for SslConnectorService2<S>where
S: Clone,
impl<S> Clone for SslConnectorService2<S>where
S: Clone,
Source§fn clone(&self) -> SslConnectorService2<S>
fn clone(&self) -> SslConnectorService2<S>
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<S> Debug for SslConnectorService2<S>where
S: Debug,
impl<S> Debug for SslConnectorService2<S>where
S: Debug,
Source§impl<A, S> Service<Connect<A>> for SslConnectorService2<S>
impl<A, S> Service<Connect<A>> for SslConnectorService2<S>
Source§type Error = Error<ConnectError>
type Error = Error<ConnectError>
Errors produced by the service when polling readiness or executing call.
Source§async fn ready(
&self,
ctx: ServiceCtx<'_, SslConnectorService2<S>>,
) -> Result<(), <SslConnectorService2<S> as Service<Connect<A>>>::Error>
async fn ready( &self, ctx: ServiceCtx<'_, SslConnectorService2<S>>, ) -> Result<(), <SslConnectorService2<S> as Service<Connect<A>>>::Error>
Returns when the service is ready to process requests. Read more
Source§fn poll(
&self,
cx: &mut Context<'_>,
) -> Result<(), <SslConnectorService2<S> as Service<Connect<A>>>::Error>
fn poll( &self, cx: &mut Context<'_>, ) -> Result<(), <SslConnectorService2<S> as Service<Connect<A>>>::Error>
Polls the service from the current async task. Read more
Source§async fn call(
&self,
message: Connect<A>,
ctx: ServiceCtx<'_, SslConnectorService2<S>>,
) -> Result<<SslConnectorService2<S> as Service<Connect<A>>>::Response, <SslConnectorService2<S> as Service<Connect<A>>>::Error>
async fn call( &self, message: Connect<A>, ctx: ServiceCtx<'_, SslConnectorService2<S>>, ) -> Result<<SslConnectorService2<S> as Service<Connect<A>>>::Response, <SslConnectorService2<S> as Service<Connect<A>>>::Error>
Processes a request and returns the response asynchronously. Read more
Auto Trait Implementations§
impl<S> !Freeze for SslConnectorService2<S>
impl<S> !RefUnwindSafe for SslConnectorService2<S>
impl<S> !Send for SslConnectorService2<S>
impl<S> !Sync for SslConnectorService2<S>
impl<S> Unpin for SslConnectorService2<S>where
S: Unpin,
impl<S> UnsafeUnpin for SslConnectorService2<S>where
S: UnsafeUnpin,
impl<S> !UnwindSafe for SslConnectorService2<S>
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§impl<Svc, Req> IntoService<Svc, Req> for Svcwhere
Svc: Service<Req>,
impl<Svc, Req> IntoService<Svc, Req> for Svcwhere
Svc: Service<Req>,
Source§fn into_service(self) -> Svc
fn into_service(self) -> Svc
Convert to a
Service