Function axum_server::bind[][src]

pub fn bind<A, I>(addr: A) -> Server where
    A: ToSocketAddrs<Iter = I> + Send + 'static,
    I: Iterator<Item = SocketAddr> + 'static, 
Expand description

Shortcut for creating Server and calling bind on it.