Skip to main content

UnixFDListExtManual

Trait UnixFDListExtManual 

Source
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§

Source

fn append(&self, fd: impl AsFd) -> Result<i32, Error>

Source

fn get(&self, index_: i32) -> Result<OwnedFd, Error>

Source

fn peek_fds(&self) -> Vec<RawFd>

Source

fn steal_fds(&self) -> Vec<RawFd>

Source

fn append_take(&self, fd: impl IntoRawFd) -> usize

Available on crate feature v2_90 only.
Source

fn lookup(&self, index_: usize) -> RawFd

Available on crate feature v2_90 only.
Source

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".

Implementors§