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
Auto Trait Implementations§
impl<const N: usize> Freeze for OwnedFds<N>
impl<const N: usize> RefUnwindSafe for OwnedFds<N>
impl<const N: usize> Send for OwnedFds<N>
impl<const N: usize> Sync for OwnedFds<N>
impl<const N: usize> Unpin for OwnedFds<N>
impl<const N: usize> UnwindSafe for OwnedFds<N>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more