Struct actix_http::h1::H1ServiceHandler [−][src]
Expand description
Service
implementation for HTTP/1 transport
Trait Implementations
impl<T, S, B, X, U> Service for H1ServiceHandler<T, S, B, X, U> where
T: AsyncRead + AsyncWrite + Unpin,
S: Service<Request = Request>,
S::Error: Into<Error>,
S::Response: Into<Response<B>>,
B: MessageBody,
X: Service<Request = Request, Response = Request>,
X::Error: Into<Error>,
U: Service<Request = (Request, Framed<T, Codec>), Response = ()>,
U::Error: Display + Into<Error>,
impl<T, S, B, X, U> Service for H1ServiceHandler<T, S, B, X, U> where
T: AsyncRead + AsyncWrite + Unpin,
S: Service<Request = Request>,
S::Error: Into<Error>,
S::Response: Into<Response<B>>,
B: MessageBody,
X: Service<Request = Request, Response = Request>,
X::Error: Into<Error>,
U: Service<Request = (Request, Framed<T, Codec>), Response = ()>,
U::Error: Display + Into<Error>,
type Request = (T, Option<SocketAddr>)
type Request = (T, Option<SocketAddr>)
Requests handled by the service.
type Error = DispatchError
type Error = DispatchError
Errors produced by the service.
type Future = Dispatcher<T, S, B, X, U>
type Future = Dispatcher<T, S, B, X, U>
The future response value.
Returns Ready
when the service is able to process requests. Read more
Process the request and return the response asynchronously. Read more
Map this service’s output to a different type, returning a new service of the resulting type. Read more
Auto Trait Implementations
impl<T, S, B, X, U> !RefUnwindSafe for H1ServiceHandler<T, S, B, X, U>
impl<T, S, B, X, U> !Send for H1ServiceHandler<T, S, B, X, U>
impl<T, S, B, X, U> !Sync for H1ServiceHandler<T, S, B, X, U>
impl<T, S, B, X, U> Unpin for H1ServiceHandler<T, S, B, X, U> where
B: Unpin,
T: Unpin,
impl<T, S, B, X, U> !UnwindSafe for H1ServiceHandler<T, S, B, X, U>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Convert to a Service
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more