pub fn serve(io: Box<dyn Io>, modem: Modem) -> ServerExpand description
Run modem on the device side until the Server is dropped, or the host closed a
connection that does not come back (a TCP bridge; a PTY is served again when it is
reopened). It sets the timeouts of io.