Searched refs:try_clone (Results 1 – 2 of 2) sorted by relevance
277 pub fn try_clone(&self) -> Option<Box<File>> { in try_clone() method351 res.fds[i] = file.try_clone(); in clone()
358 let file_cp = (file).try_clone(); in do_dup()407 let file_cp = file.try_clone(); in do_dup2()