discover_and_open

Function discover_and_open 

Source
fn discover_and_open(
    port: Option<&str>,
    baud: u32,
) -> Result<(String, EitherTransport), String>