Rust Search

Find the best content on Rust, curated by the community; a search engine for Rustaceans.
doc.rust-lang.org
pub fn as_ptr(&self) -> *const *const c_char
Returns a pointer to the C-string array managed by this type.
method std Version 1.100.0-nightly
doc.rust-lang.org
pub struct CStringArray
Helper type to manage ownership of the strings within a C-style array.
struct std Version 1.100.0-nightly
doc.rust-lang.org
pub struct CommandEnv
Stores a set of changes to an environment
struct std Version 1.100.0-nightly
doc.rust-lang.org
pub mod platform_version
Runtime lookup of operating system / platform version.
module std Version 1.100.0-nightly
doc.rust-lang.org
pub const USING_SJLJ_EXCEPTIONS: bool
32-bit ARM Darwin platforms uses SjLj exceptions.
constant std Version 1.100.0-nightly
doc.rust-lang.org
pub mod eh
Parsing of GCC-style Language-Specific Data Area (LSDA) For details see:
module std Version 1.100.0-nightly
doc.rust-lang.org
pub mod weak
Support for "weak linkage" to symbols on Unix
module std Version 1.100.0-nightly
doc.rust-lang.org
pub fn with_current_info<R>(f: impl FnOnce(Option<&ThreadInfo>) -> R) -> R
Get the current thread's information, if available.
function std Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn make_handler(main_thread: bool) -> super::Handler
Safety
function std Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn init()
Safety
function std Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn drop_handler(data: *mut libc::c_void)
Safety
function std Version 1.100.0-nightly
doc.rust-lang.org
pub fn cvt_r<T, F>(f: F) -> io::Result<T>
-1 → look at errno → retry on EINTR. Otherwise Ok()-wrap the closure return value.
function std Version 1.100.0-nightly
doc.rust-lang.org
pub fn cvt_nz(error: libc::c_int) -> io::Result<()>
Zero means Ok(), all other values are treated as raw OS errors. Does not look at errno.
function std Version 1.100.0-nightly
doc.rust-lang.org
pub fn cvt<T>(t: T) -> io::Result<T>
Converts native return values to Result using the -1 means error is in errno convention. Non-error values are Ok-wrapped.
function std Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn setsockopt<T>(sock: &Socket, level: crate::ffi::c_int, option_name: crate::ffi::c_int, option_value: T) -> io::Result<()>
Sets the value of a socket option.
function std Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn getsockopt<T>(sock: &Socket, level: crate::ffi::c_int, option_name: crate::ffi::c_int) -> io::Result<T>
Gets the value of a socket option.
function std Version 1.100.0-nightly
doc.rust-lang.org
pub fn set_errno(e: i32)
Sets the platform-specific value of errno
function std Version 1.100.0-nightly
doc.rust-lang.org
pub fn error_string(errno: i32) -> String
Gets a detailed string description for the given error number.
function std Version 1.100.0-nightly
doc.rust-lang.org
pub fn errno() -> i32
Returns the platform-specific value of errno
function std Version 1.100.0-nightly
doc.rust-lang.org
pub unsafe fn new(lpwstr: *const u16) -> Option<Self>
Creates the iterator. Returns None if lpwstr is null.
associated_function std Version 1.100.0-nightly
"There actually are NOT very many places where the C code’s behavior conflicts with Rust’s borrowing rules. This is both somewhat surprising, becau..."

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.