pub async fn unix_connect_timeout<U>(
        path: impl AsRef<std::path::Path>,
        codec: U,
        duration: Duration,
    ) -> io::Result<Self>
    where
        U: Codec + Send + 'static,
    {
        utils::timeout(duration, Self::unix_connect(path, codec))
            .await
            .and_then(convert::identity)
    }
/// Connect to a proxy unix socket, timing out after duration has passed
Connect to a proxy unix socket, timing out after duration has passed
Connect to a proxy unix socket timing out after duration has passed
pub async fn unix_connect_timeout<U>(
        path: impl AsRef<std::path::Path>,
        codec: U,
        duration: Duration,
    ) -> io::Result<Self>
    where
        U: Codec + Send + 'static,
    {
        utils::timeout(duration, Self::unix_connect(path, codec))
            .await
            .and_then(convert::identity)
    }
pub async fn unix_connect_timeout < U > ( path : impl AsRef < std :: path :: Path > , codec : U , duration : Duration , ) -> io :: Result < Self > where U : Codec + Send + ' static , { utils :: timeout ( duration , Self :: unix_connect ( path , codec ) ) . await . and_then ( convert :: identity ) }
Connect to a proxy unix socket, timing out after duration has passed
Connect to a proxy unix socket timing out after duration has passed
path
impl AsRef<std::path::Path>
codec
U
duration
Duration