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