Function sled_web::server::new[][src]

pub fn new(
    config: Config,
    tree: Arc<Tree>
) -> impl Future<Item = (), Error = Error>

Build the hyper Server with the given configuration and sled::Tree.

Returns a Future representing the Server's computation.