Function fdio::clone_channel
source · pub fn clone_channel(f: &impl AsRawFd) -> Result<Channel, Status>
Expand description
Clones an object’s underlying handle and checks that it is a channel.
pub fn clone_channel(f: &impl AsRawFd) -> Result<Channel, Status>
Clones an object’s underlying handle and checks that it is a channel.