Trait mz_environmentd::server::Server
source · pub trait Server {
const NAME: &'static str;
fn handle_connection(
&self,
conn: TcpStream
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send>>;
}
Expand description
A server handles incoming network connections.