Struct ntex::server::openssl::AcceptorService [−][src]
pub struct AcceptorService<T> { /* fields omitted */ }
Trait Implementations
impl<T> Service for AcceptorService<T> where
T: AsyncRead + AsyncWrite + Unpin + Debug + 'static,
[src]
impl<T> Service for AcceptorService<T> where
T: AsyncRead + AsyncWrite + Unpin + Debug + 'static,
[src]type Request = T
type Request = T
Requests handled by the service.
type Future = AcceptorServiceResponse<T>
type Future = AcceptorServiceResponse<T>
The future response value.
fn poll_ready(&self, ctx: &mut Context<'_>) -> Poll<Result<(), Self::Error>>
[src]
fn poll_ready(&self, ctx: &mut Context<'_>) -> Poll<Result<(), Self::Error>>
[src]Returns Ready
when the service is able to process requests. Read more
fn call(&self, req: Self::Request) -> Self::Future
[src]
fn call(&self, req: Self::Request) -> Self::Future
[src]Process the request and return the response asynchronously. Read more
fn poll_shutdown(&self, ctx: &mut Context<'_>, is_error: bool) -> Poll<()>
[src]
fn poll_shutdown(&self, ctx: &mut Context<'_>, is_error: bool) -> Poll<()>
[src]Shutdown service. Read more
Auto Trait Implementations
impl<T> !RefUnwindSafe for AcceptorService<T>
impl<T> !Send for AcceptorService<T>
impl<T> !Sync for AcceptorService<T>
impl<T> Unpin for AcceptorService<T> where
T: Unpin,
T: Unpin,
impl<T> !UnwindSafe for AcceptorService<T>
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
fn in_current_span(self) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]impl<T> IntoService<T> for T where
T: Service,
[src]
impl<T> IntoService<T> for T where
T: Service,
[src]pub fn into_service(self) -> T
[src]
pub fn into_service(self) -> T
[src]Convert to a Service
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self