Skip to main content

spawn_modem

Function spawn_modem 

Source
pub fn spawn_modem<F>(number: String, config: ModemConfig, sink: F)
where F: Fn(NetEvent) + Send + 'static,
Expand description

Dial number on the modem in a background thread, reporting through sink like the network transports.