1use std::os::fd; 2 3/// Installs an owned descriptor in its reserved native table slot. 4pub trait Install<O> { 5 type Handle: fd::AsFd; 6 type Error; 7 8 fn install(&mut self, slot: O, handle: Self::Handle) -> Result<(), Self::Error>; 9}