pub fn serve<A: 'static + ToSocketAddrs>(
    content_directory: ContentDirectory,
    index_route: Option<Route>,
    error_handler_route: Option<Route>,
    bind_to: A
) -> Result<(), ServeCommandError>
Expand description

Starts an HTTP server for the given content directory.