Skip to main content

unix_connect

Function unix_connect 

Source
pub async fn unix_connect<'a, P>(addr: P, cfg: SharedCfg) -> Result<Io>
where P: AsRef<Path> + 'a,
Expand description

Opens a Unix domain socket connection.

ยงPanics

Panics if called outside an ntex runtime, for example from a plain thread or a runtime from another crate. Call it from code running under #[ntex::main], #[ntex::test], or an ntex System.