sqlx_core::net

Function connect_uds

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

Connect a Unix Domain Socket at the given path.

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