Function connect_to_pipe

Source
pub fn connect_to_pipe(
    pipe: impl AsRef<Path>,
    options: Option<&SessionOptions>,
    timeout: Option<Duration>,
    pid: Option<u32>,
) -> Result<Session>
Expand description

Connect to the engine process via a pipe file. If timeout is Some, function will try to connect to the server multiple times every 100ms until timeout is reached. Note: Default SessionOptions create a blocking session, non-threaded session, use SessionOptionsBuilder to configure this.