pub fn spawn_modem<F>(number: String, config: ModemConfig, sink: F)where F: Fn(NetEvent) + Send + 'static,
Dial number on the modem in a background thread, reporting through sink like the network transports.
number
sink