pub fn from_unix_stream(stream: UnixStream, cfg: SharedCfg) -> Result<Io>Expand description
Converts a standard-library Unix stream into an [Io] value.
ยง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.