Trait axum_test::IntoTestServerThread
source · pub trait IntoTestServerThread {
// Required method
fn into_server_thread(
self,
server_builder: Builder<AddrIncoming>
) -> JoinHandle<()>;
}
Expand description
This exists to gloss over the differences between Axum’s
IntoMakeService
and IntoMakeServiceWithConnectInfo
types.
This is a trait for turning those types into a thread, that is running a web server.