pub async fn unix_connect<P>(addr: P) -> Result<Io>
    where
        P: AsRef<std::path::Path>,
    {
        let sock = glommio::net::UnixStream::connect(addr).await?;
        Ok(Io::new(UnixStream::new(sock)))
    }
/// Opens a unix stream connection.
Opens a unix stream connection.
Opens a unix stream connection .
pub async fn unix_connect<P>(addr: P) -> Result<Io>
    where
        P: AsRef<std::path::Path>,
    {
        let sock = glommio::net::UnixStream::connect(addr).await?;
        Ok(Io::new(UnixStream::new(sock)))
    }
pub async fn unix_connect < P > ( addr : P ) -> Result < Io > where P : AsRef < std :: path :: Path > , { let sock = glommio :: net :: UnixStream :: connect ( addr ) . await ? ; Ok ( Io :: new ( UnixStream :: new ( sock ) ) ) }
Opens a unix stream connection.
Opens a unix stream connection .
addr
P
addr
P