Rust Search

Find the best content on Rust, curated by the community; a search engine for Rustaceans.
doc.rust-lang.org
pub struct BarrierWaitResult
A BarrierWaitResult is returned by Barrier::wait() when all threads in the Barrier have rendezvoused.
struct std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn wait(&self) -> BarrierWaitResult
Blocks the current thread until all threads have rendezvoused here.
method std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn new(n: usize) -> Barrier
Creates a new barrier that can block a given number of threads.
associated_function std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct Barrier
A barrier enables multiple threads to synchronize the beginning of some computation.
struct std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn timed_out(&self) -> bool
Returns true if the wait was known to have timed out.
method std Stable since 1.5.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct WaitTimeoutResult
A type indicating whether a timed wait on a condition variable returned due to a time out or not.
struct std Stable since 1.5.0 Version 1.100.0-nightly
doc.rust-lang.org
pub mod sync
Useful synchronization primitives.
module std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
primitive str
String slices.
primitive std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
primitive slice
A dynamically-sized view into a contiguous sequence, [T].
primitive std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
primitive reference
References, &T and &mut T.
primitive std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn id() -> u32
Returns the OS-assigned process identifier associated with this process.
function std Stable since 1.26.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn exit(code: i32) -> never
Terminates the current process with the specified exit code.
function std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn abort() -> never
Terminates the process in an abnormal fashion.
function std Stable since 1.17.0 Version 1.100.0-nightly
doc.rust-lang.org
fn report(self) -> ExitCode
Is called to get the representation of the value as status code. This status code is returned to the operating system.
method std Stable since 1.61.0 Version 1.100.0-nightly
doc.rust-lang.org
pub trait Termination
A trait for implementing arbitrary return types in the main function.
trait std Stable since 1.61.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn piped() -> Stdio
A new pipe should be arranged to connect the parent and child processes.
associated_function std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn null() -> Stdio
This stream will be ignored. This is the equivalent of attaching the stream to /dev/null.
associated_function std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn inherit() -> Stdio
The child inherits from the corresponding parent descriptor.
associated_function std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct Stdio
Describes what to do with a standard I/O stream for a child process when passed to the stdin, stdout, and stderr methods of Command.
struct std Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct Output
The output of a finished process.
struct std Stable since 1.0.0 Version 1.100.0-nightly
"Anyway: the standard library docs say "check the nomicon" then the nomicon says "here is some advice and ultimately we don't know, maybe check UCG" th..."

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.