pub struct TestServer { /* private fields */ }
Expand description

Test server controller

Implementations

Construct test server url

Construct test server url

Create GET request

Create POST request

Create HEAD request

Create PUT request

Create PATCH request

Create DELETE request

Create OPTIONS request

Connect to test http server

Load response’s body

Connect to websocket server at a given path

Connect to a websocket server

Gracefully stop http server

Trait Implementations

Executes the destructor for this type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.