changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > core / rust/lib/net/src/server.rs

changeset 698: 96958d3eb5b0
parent: 2d1fe1d7b738
author: Richard Westhaver <ellis@rwest.io>
date: Fri, 04 Oct 2024 22:04:59 -0400
permissions: -rw-r--r--
description: fixes
1 //! network server primitives
2 pub use hyper;
3 use obj::NetworkConfig;
4 pub struct Server {
5  pub cfg: NetworkConfig,
6 }
7 
8 #[trait_variant::make(Serve: Send)]
9 pub trait LocalServe {
10  async fn run(&self);
11 }