Struct gotham::test::TestConnect
[−]
[src]
pub struct TestConnect { /* fields omitted */ }
TestConnect
represents the connection between a test client and the TestServer
instance
that created it. This type should never be used directly.
Trait Implementations
impl Service for TestConnect
[src]
type Request = Uri
Requests handled by the service.
type Error = Error
Errors produced by the service.
type Response = PollEvented<TcpStream>
Responses given by the service.
type Future = FutureResult<Self::Response, Self::Error>
The future response value.
fn call(&self, _req: Self::Request) -> Self::Future
[src]
Process the request and return the response asynchronously.