Skip to main content

connect

Function connect 

Source
pub fn connect(
    config: &MqttConfig,
) -> Result<(Mqtt, Receiver<Incoming>), String>
Expand description

Connects (in the background) and returns the publisher and incoming messages.