Rust Search

Find the best content on Rust, curated by the community; a search engine for Rustaceans.
doc.rust-lang.org
fn process_group(&mut self, pgroup: i32) -> &mut process::Command
Sets the process group ID (PGID) of the child process. Equivalent to a setpgid call in the child process, but may be more efficient.
method std Stable since 1.64.0 Version 1.100.0-nightly
doc.rust-lang.org
unsafe fn pre_exec<F>(&mut self, f: F) -> &mut process::Command
Schedules a closure to be run just before the exec function is invoked.
method std Stable since 1.34.0 Version 1.100.0-nightly
doc.rust-lang.org
fn gid(&mut self, id: u32) -> &mut process::Command
Similar to uid, but sets the group ID of the child process. This has the same semantics as the uid field.
method std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
fn exec(&mut self) -> io::Error
Performs all the required setup by this Command, followed by calling the execvp syscall.
method std Stable since 1.9.0 Version 1.100.0-nightly
doc.rust-lang.org
unsafe fn before_exec<F>(&mut self, f: F) -> &mut process::Command
Schedules a closure to be run just before the exec function is invoked.
method std Stable since 1.15.0 Version 1.100.0-nightly
doc.rust-lang.org
fn arg0<S>(&mut self, arg: S) -> &mut process::Command
Set executable argument
method std Stable since 1.45.0 Version 1.100.0-nightly
doc.rust-lang.org
pub trait CommandExt
Unix-specific extensions to the process::Command builder.
trait std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub mod process
Unix-specific extensions to primitives in the std::process module.
module std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub mod prelude
A prelude for conveniently writing platform-specific code.
module std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn write_timeout(&self) -> io::Result<Option<Duration>>
Returns the write timeout of this socket.
method std Stable since 1.10.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn try_clone(&self) -> io::Result<UnixStream>
Creates a new independently owned handle to the underlying socket.
method std Stable since 1.10.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn take_error(&self) -> io::Result<Option<io::Error>>
Returns the value of the SO_ERROR option.
method std Stable since 1.10.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn shutdown(&self, how: Shutdown) -> io::Result<()>
Shuts down the read, write, or both halves of this connection.
method std Stable since 1.10.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn set_write_timeout(&self, timeout: Option<Duration>) -> io::Result<()>
Sets the write timeout for the socket.
method std Stable since 1.10.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn set_read_timeout(&self, timeout: Option<Duration>) -> io::Result<()>
Sets the read timeout for the socket.
method std Stable since 1.10.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn set_nonblocking(&self, nonblocking: bool) -> io::Result<()>
Moves the socket into or out of nonblocking mode.
method std Stable since 1.10.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn read_timeout(&self) -> io::Result<Option<Duration>>
Returns the read timeout of this socket.
method std Stable since 1.10.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn peer_addr(&self) -> io::Result<SocketAddr>
Returns the socket address of the remote half of this connection.
method std Stable since 1.10.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn pair() -> io::Result<(UnixStream, UnixStream)>
Creates an unnamed pair of connected sockets.
associated_function std Stable since 1.10.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn local_addr(&self) -> io::Result<SocketAddr>
Returns the socket address of the local half of this connection.
method std Stable since 1.10.0 Version 1.100.0-nightly
"Rust has no theoretical inconsistencies... a remarkable achievement..."

Search tips

Type anything to search across articles, videos (including conference talks), podcasts, research, crates, and Rust API documentation. These operators give you finer control — click an example to try it.

Find pages containing all your words. Pages where the words appear together rank higher.
Quote part of your query to keep those words together as an exact phrase within a larger search.
Wrap the whole query in quotes for a verbatim search that matches text exactly, punctuation and all — perfect for Rust syntax. Needs at least 3 characters.
Put ! first to open the top result immediately. Quote the whole query for a literal leading bang, as in '!Send'. Bangs elsewhere, such as println!, stay literal. Browser and launcher shortcuts can invoke this directly. See search integrations.
Limit results to a single site. Works on its own () too. One site: per search.

Use the tabs and filters above the results to narrow by content type, publication year, and sort order.