Skip to main content

Pipe

Trait Pipe 

Source
pub trait Pipe {
    // Required methods
    fn open() -> Result<(OwnedFd, OwnedFd), Error>;
    fn nonblocking() -> Result<(OwnedFd, OwnedFd), Error>;
}
Expand description

Creates two exclusively owned native pipe endpoints.

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§