pub struct OwnedFds<const N: usize> { /* private fields */ }
Implementations§
Trait Implementations§
source§impl<const N: usize> Extend<OwnedFd> for OwnedFds<N>
impl<const N: usize> Extend<OwnedFd> for OwnedFds<N>
source§fn extend<T: IntoIterator<Item = OwnedFd>>(&mut self, fds: T)
fn extend<T: IntoIterator<Item = OwnedFd>>(&mut self, fds: T)
Extends a collection with the contents of an iterator. Read more
source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
source§impl<const N: usize> OwnedFds for OwnedFds<N>
impl<const N: usize> OwnedFds for OwnedFds<N>
source§fn capacity(&self) -> Option<usize>
fn capacity(&self) -> Option<usize>
Returns the maximum number of file descriptors that can be stored.
Trying to store more than this number of file descriptors will cause
them to be dropped. Read more