Rust Search

Find the best content on Rust, curated by the community; a search engine for Rustaceans.
doc.rust-lang.org
pub trait OsStringExt
Platform-specific extensions to OsString.
trait std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
fn from_bytes(slice: &[u8]) -> &Self
Creates an OsStr from a byte slice.
associated_function std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
fn as_bytes(&self) -> &[u8]
Gets the underlying byte view of the OsStr slice.
method std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub trait OsStrExt
Platform-specific extensions to OsStr.
trait std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub mod ffi
WASI-specific extensions to primitives in the std::ffi module
module std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub mod wasi
Platform-specific extensions to std for the WebAssembly System Interface (WASI).
module std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
fn into_pthread_t(self) -> RawPthread
Consumes the thread, returning the raw pthread_t
method std Stable since 1.9.0 Version 1.100.0-nightly
doc.rust-lang.org
fn as_pthread_t(&self) -> RawPthread
Extracts the raw pthread_t without taking ownership
method std Stable since 1.9.0 Version 1.100.0-nightly
doc.rust-lang.org
pub trait JoinHandleExt
Unix-specific extensions to JoinHandle.
trait std Stable since 1.9.0 Version 1.100.0-nightly
doc.rust-lang.org
pub mod thread
Unix-specific extensions to primitives in the std::thread module.
module std Stable since 1.9.0 Version 1.100.0-nightly
doc.rust-lang.org
std::os::unix::raw Deprecated
pub mod raw
Unix-specific primitives available on all unix platforms.
module std Stable since 1.1.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn parent_id() -> u32
Returns the OS-assigned process identifier associated with this process's parent.
function std Stable since 1.27.0 Version 1.100.0-nightly
doc.rust-lang.org
fn stopped_signal(&self) -> Option<i32>
If the process was stopped by a signal, returns that signal.
method std Stable since 1.58.0 Version 1.100.0-nightly
doc.rust-lang.org
fn signal(&self) -> Option<i32>
If the process was terminated by a signal, returns that signal.
method std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
fn into_raw(self) -> i32
Returns the underlying raw wait status.
method std Stable since 1.58.0 Version 1.100.0-nightly
doc.rust-lang.org
fn from_raw(raw: i32) -> Self
Creates a new ExitStatus or ExitStatusError from the raw underlying integer status value from wait.
associated_function std Stable since 1.12.0 Version 1.100.0-nightly
doc.rust-lang.org
fn core_dumped(&self) -> bool
If the process was terminated by a signal, says whether it dumped core.
method std Stable since 1.58.0 Version 1.100.0-nightly
doc.rust-lang.org
fn continued(&self) -> bool
Whether the process was continued from a stopped status.
method std Stable since 1.58.0 Version 1.100.0-nightly
doc.rust-lang.org
pub trait ExitStatusExt
Unix-specific extensions to ExitStatus and ExitStatusError.
trait std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
fn uid(&mut self, id: u32) -> &mut process::Command
Sets the child process's user ID. This translates to a setuid call in the child process. Failure in the setuid call will cause the spawn to fail.
method std Stable since 1.0.0 Version 1.100.0-nightly
"The bug I did not have"

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.