Function mas_listener::server::run_servers

source ยท
pub async fn run_servers<S, B, SD>(
    listeners: impl IntoIterator<Item = Server<S>>,
    shutdown: SD,
)
where S: Service<Request<Incoming>, Response = Response<B>> + Clone + Send + 'static, S::Future: Send + 'static, S::Error: Error + Send + Sync + 'static, B: Body + Send + 'static, B::Data: Send, B::Error: Error + Send + Sync + 'static, SD: Stream + Unpin, SD::Item: Display,