Function connect_uds

Source
pub async fn connect_uds<P, Ws>(
    path: P,
    with_socket: Ws,
) -> Result<<Ws as WithSocket>::Output, Error>
where P: AsRef<Path>, Ws: WithSocket,
Expand description

Connect a Unix Domain Socket at the given path.

Returns an error if Unix Domain Sockets are not supported on this platform.