pub fn channel() -> Result<(UnixDatagram, OwnedFd)>Expand description
A new channel: the agent’s end, and the task’s end to pass to its process (close-on-exec, as every socket the agent makes; made inheritable only while that process starts).
§Errors
An I/O error if the socket pair can’t be made.