pub trait UnixFDListExtManual: IsA<UnixFDList> + Sized {
// Provided methods
fn append(&self, fd: impl AsFd) -> Result<i32, Error> { ... }
fn get(&self, index_: i32) -> Result<OwnedFd, Error> { ... }
fn peek_fds(&self) -> Vec<RawFd> ⓘ { ... }
fn steal_fds(&self) -> Vec<RawFd> ⓘ { ... }
fn append_take(&self, fd: impl IntoRawFd) -> usize { ... }
fn lookup(&self, index_: usize) -> RawFd { ... }
fn peek(&self, index_: usize) -> RawFd { ... }
}Available on Unix only.
Provided Methods§
fn append(&self, fd: impl AsFd) -> Result<i32, Error>
fn get(&self, index_: i32) -> Result<OwnedFd, Error>
fn peek_fds(&self) -> Vec<RawFd> ⓘ
fn steal_fds(&self) -> Vec<RawFd> ⓘ
fn append_take(&self, fd: impl IntoRawFd) -> usize
Available on crate feature
v2_90 only.fn lookup(&self, index_: usize) -> RawFd
Available on crate feature
v2_90 only.fn peek(&self, index_: usize) -> RawFd
Available on crate feature
v2_90 only.Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".