Function compio_runtime::attach

source ·
pub fn attach(fd: RawFd) -> Result<()>
Expand description

Attach a raw file descriptor/handle/socket to the runtime.

You only need this when authoring your own high-level APIs. High-level resources in this crate are attached automatically.