connect

Function connect 

Source
pub async fn connect<P: AsRef<Path>>(path: P) -> Result<UnixStream>
Expand description

Connect to a Unix domain socket at the given path.

ยงErrors

Returns an error if the connection to the provided socket path fails.