Module rust_future
The Future version of the prelude of The Rust Standard Library.
See the module-level documentation for more.
Modules
Structs
Enums
Traits
- AsMut
- AsRef
- AsyncFn
- AsyncFnMut
- AsyncFnOnce
- Clone
- Copy
- Default
- DoubleEndedIterator
- Drop
- Eq
- ExactSizeIterator
- Extend
- Fn
- FnMut
- FnOnce
- From
-
FromIterator
Conversion from an
Iterator. -
Future
A future represents an asynchronous computation, commonly obtained by use of
async. - Into
-
IntoFuture
Conversion into a
Future. - IntoIterator
- Iterator
- Ord
- PartialEq
- PartialOrd
- Send
- Sized
- Sync
- ToOwned
- ToString
-
TryFrom
Simple and safe type conversions that may fail in a controlled
way under some circumstances. It is the reciprocal of
TryInto. -
TryInto
An attempted conversion that consumes
self, which may or may not be expensive. - Unpin
Functions
Macros
- assert
- assert_eq
- assert_ne
- cfg
- cfg_select
- column
- compile_error
- concat
- concat_bytes
- const_format_args
- dbg Prints and returns the value of a given expression for quick and dirty debugging.
- debug_assert
- debug_assert_eq
- debug_assert_ne
- deref
- env
- eprint Prints to the standard error.
- eprintln Prints to the standard error, with a newline.
- file
- format
- format_args
- include
- include_bytes
- include_str
- is_x86_feature_detected
- line
- log_syntax
- matches
- module_path
- option_env
- panic Panics the current thread.
- pattern_type Creates a pattern type.
- print Prints to the standard output.
- println Prints to the standard output, with a newline.
- stringify
-
thread_local
Declare a new thread local storage key of type
std::thread::LocalKey. - todo
- trace_macros
- try
- type_ascribe
- unimplemented
- unreachable
- vec
- write
- writeln