Structs§
- A handle to a running Axum service.
Functions§
- Returns a randomly selected port that is not in use.
- Generates a
SocketAddr
on the IP 127.0.0.1, using a random port. - Binds a
std::net::TcpListener
on the IP 127.0.0.1, using a random port. - Binds a
std::net::TcpListener
on the IP 127.0.0.1, using a random port. - Binds a
tokio::net::TcpListener
on the IP 127.0.0.1, using a random port. - Binds a
tokio::net::TcpListener
on the IP 127.0.0.1, using a random port. - A wrapper around
axum::serve()
for tests, which spawns the service in a new thread.