pub struct SslAcceptorService { /* private fields */ }Expand description
Support TLS server connections via openssl package
openssl feature enables Acceptor type
Trait Implementations§
Source§impl Debug for SslAcceptorService
impl Debug for SslAcceptorService
Source§impl<F> Service<Io<F>> for SslAcceptorServicewhere
F: Filter,
impl<F> Service<Io<F>> for SslAcceptorServicewhere
F: Filter,
Source§type Error = Box<dyn Error>
type Error = Box<dyn Error>
Errors produced by the service when polling readiness or executing call.
Source§async fn ready(
&self,
_: ServiceCtx<'_, SslAcceptorService>,
) -> Result<(), <SslAcceptorService as Service<Io<F>>>::Error>
async fn ready( &self, _: ServiceCtx<'_, SslAcceptorService>, ) -> Result<(), <SslAcceptorService as Service<Io<F>>>::Error>
Returns when the service is able to process requests. Read more
Source§async fn call(
&self,
io: Io<F>,
_: ServiceCtx<'_, SslAcceptorService>,
) -> Result<<SslAcceptorService as Service<Io<F>>>::Response, <SslAcceptorService as Service<Io<F>>>::Error>
async fn call( &self, io: Io<F>, _: ServiceCtx<'_, SslAcceptorService>, ) -> Result<<SslAcceptorService as Service<Io<F>>>::Response, <SslAcceptorService as Service<Io<F>>>::Error>
Process the request and return the response asynchronously. Read more
Source§fn poll(&self, cx: &mut Context<'_>) -> Result<(), Self::Error>
fn poll(&self, cx: &mut Context<'_>) -> Result<(), Self::Error>
Polls service from the current task. Read more
Auto Trait Implementations§
impl Freeze for SslAcceptorService
impl !RefUnwindSafe for SslAcceptorService
impl !Send for SslAcceptorService
impl !Sync for SslAcceptorService
impl Unpin for SslAcceptorService
impl !UnwindSafe for SslAcceptorService
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<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