pub async fn connect<P: AsRef<Path>>(path: P) -> Result<UnixStream>
Connect to a Unix domain socket at the given path.
Returns an error if the connection to the provided socket path fails.