fdio

Function clone_channel

Source
pub fn clone_channel(f: impl AsFd) -> Result<Channel, Status>
Expand description

Clones an object’s underlying handle and checks that it is a channel.