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>  { ... }
}

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>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§