Expand description
This module contains reexported symbols that are imported from different places depending on how the crate was compiled.
Modules:
iter: rust’sitermodule. Can come fromstdor thecorecrate.mem: rust’smemmodule. Can come fromstdor thealloccrate.
Macros:
format: rust’sformatmacro. Can come fromstdor thealloccrate.test: test macro for asynchronous code. Can come fromfutures-test,tokio, or theasync-stdcrates. Only available during testing.
Structs:
Arc: rust’sArcstruct. Can come fromstdor thealloccrate.Box: rust’sBoxstruct. Can come fromstdor thealloccrate.Map: one of rust’s map types, eitherHashMapfromstdorBTreeMapfrom thealloccrate.Mutex: a futures-aware mutex. Can come fromfutures,tokio, or theasync-lockcrates.NonZeroUsize: rust’sNonZeroUsizestruct. Can come fromstdor thecorecrate.Pin: rust’sPinstruct. Can come fromstdor thecorecrate.Set: one of rust’s set types, eitherHashSetfromstdorBTreeSetfrom thealloccrate.Vec: rust’sVecstruct. Can come fromstdor thealloccrate.
Traits:
Future: rust’sFuturetrait. Can come fromstdor thecorecrate.IntoIterator: rust’sIntoIteratortrait. Can come fromstdor thecorecrate.Iterator: rust’sIntoIteratortrait. Can come fromstdor thecorecrate.
Modules§
Macros§
- format
- Creates a
Stringusing interpolation of runtime expressions.
Structs§
- Arc
- A thread-safe reference-counting pointer. ‘Arc’ stands for ‘Atomically Reference Counted’.
- Box
- A pointer type that uniquely owns a heap allocation of type
T. - Mutex
- A futures-aware mutex.
- Pin
- A pointer which pins its pointee in place.
- Vec
- A contiguous growable array type, written as
Vec<T>, short for ‘vector’.
Traits§
- Future
- A future represents an asynchronous computation, commonly obtained by use of
async. - Into
Iterator - Conversion into an
Iterator. - Iterator
- A trait for dealing with iterators.
Type Aliases§
- Map
- NonZero
Usize - A
usizethat is known not to equal zero. - Set