pub trait OwnedFds: Extend<OwnedFd> {
// Required methods
fn len(&self) -> usize;
fn capacity(&self) -> Option<usize>;
fn take<T>(&mut self, fds: &mut T)
where T: Extend<OwnedFd>;
// Provided method
fn is_empty(&self) -> bool { ... }
}
Expand description
A bunch of owned file descriptors.