pub async fn serve<A, T, E>(bind_address: A, transport: T) -> Result<()> where
    A: ToSocketAddrs,
    T: Sink<Bytes, Error = E> + Stream<Item = Result<Bytes, E>> + Send + 'static,
    E: Into<Error> + Send + 'static, 
Expand description

Listen and forward every incoming tcp connection to the given transport