Struct actix_connect::ConnectService [−][src]
pub struct ConnectService<T> { /* fields omitted */ }
Trait Implementations
type Response = Connection<T, TcpStream>
type Response = Connection<T, TcpStream>
Responses given by the service.
type Error = ConnectError
type Error = ConnectError
Errors produced by the service.
type Future = ConnectServiceResponse<T>
type Future = ConnectServiceResponse<T>
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> !RefUnwindSafe for ConnectService<T>
impl<T> Send for ConnectService<T> where
T: Send,
impl<T> Sync for ConnectService<T> where
T: Sync,
impl<T> Unpin for ConnectService<T> where
T: Unpin,
impl<T> !UnwindSafe for ConnectService<T>
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert to a Service