Rust Search

Find the best content on Rust, curated by the community; a search engine for Rustaceans.
doc.rust-lang.org
fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll<<Self as >::Output>
Attempts to resolve the future to a final value, registering the current task for wakeup if the value is not yet available.
method core Stable since 1.36.0 Version 1.100.0-nightly
doc.rust-lang.org
pub trait IntoFuture
Conversion into a Future.
trait core Stable since 1.64.0 Version 1.100.0-nightly
doc.rust-lang.org
type IntoFuture
Which kind of future are we turning this into?
associated_type core Stable since 1.64.0 Version 1.100.0-nightly
doc.rust-lang.org
type Output
The output that the future will produce on completion.
associated_type core Stable since 1.64.0 Version 1.100.0-nightly
doc.rust-lang.org
fn into_future(self) -> <Self as >::IntoFuture
Creates a future from a value.
method core Stable since 1.64.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct Pending<T>
Creates a future which never resolves, representing a computation that never finishes.
struct core Stable since 1.48.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn pending<T>() -> Pending<T>
Creates a future which never resolves, representing a computation that never finishes.
function core Stable since 1.48.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct PollFn<F>
A Future that wraps a function returning Poll.
struct core Stable since 1.64.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn poll_fn<T, F>(f: F) -> PollFn<F>
Creates a future that wraps a function returning Poll.
function core Stable since 1.64.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct Ready<T>
A future that is immediately ready with a value.
struct core Stable since 1.48.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn into_inner(self) -> T
Consumes the Ready, returning the wrapped value.
method core Stable since 1.82.0 Version 1.100.0-nightly
doc.rust-lang.org
pub fn ready<T>(t: T) -> Ready<T>
Creates a future that is immediately ready with a value.
function core Stable since 1.48.0 Version 1.100.0-nightly
doc.rust-lang.org
pub mod hash
Generic hashing support.
module core Stable since 1.0.0 Version 1.100.0-nightly
doc.rust-lang.org
pub trait BuildHasher
A trait for creating instances of Hasher.
trait core Stable since 1.7.0 Version 1.100.0-nightly
doc.rust-lang.org
type Hasher
Type of the hasher that will be created.
associated_type core Stable since 1.7.0 Version 1.100.0-nightly
doc.rust-lang.org
fn build_hasher(&self) -> <Self as >::Hasher
Creates a new hasher.
method core Stable since 1.7.0 Version 1.100.0-nightly
doc.rust-lang.org
fn hash_one<T>(&self, x: T) -> u64
Calculates the hash of a single value.
method core Stable since 1.71.0 Version 1.100.0-nightly
doc.rust-lang.org
pub struct BuildHasherDefault<H>
Used to create a default BuildHasher instance for types that implement Hasher and Default.
struct core Stable since 1.7.0 Version 1.100.0-nightly
doc.rust-lang.org
pub const fn new() -> Self
Creates a new BuildHasherDefault for Hasher H.
associated_function core Stable since 1.85.0 Version 1.100.0-nightly
doc.rust-lang.org
pub trait Hash
A hashable type.
trait core Stable since 1.0.0 Version 1.100.0-nightly
"Rust favours security over convenience. Rust does not want you to make silly little mistakes than can waste so much of your time debugging, which in t..."

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.