Skip to main content

connect

Function connect 

Source
pub async fn connect(
    conn: &str,
    ask: Option<AskIn<'_>>,
) -> Result<Arc<RemoteFiles>, RemoteError>
Expand description

The open connection to conn’s helper, made (and the helper installed) if there is none. ask: where ssh’s prompts go, if any are needed.