Module reexported

Module reexported 

Source
Expand description

This module contains reexported symbols that are imported from different places depending on how the crate was compiled.

Modules:

  • iter: rust’s iter module. Can come from std or the core crate.
  • mem: rust’s mem module. Can come from std or the alloc crate.

Macros:

  • format: rust’s format macro. Can come from std or the alloc crate.
  • test: test macro for asynchronous code. Can come from futures-test, tokio, or the async-std crates. Only available during testing.

Structs:

  • Arc: rust’s Arc struct. Can come from std or the alloc crate.
  • Box: rust’s Box struct. Can come from std or the alloc crate.
  • Map: one of rust’s map types, either HashMap from std or BTreeMap from the alloc crate.
  • Mutex: a futures-aware mutex. Can come from futures, tokio, or the async-lock crates.
  • NonZeroUsize: rust’s NonZeroUsize struct. Can come from std or the core crate.
  • Pin: rust’s Pin struct. Can come from std or the core crate.
  • Set: one of rust’s set types, either HashSet from std or BTreeSet from the alloc crate.
  • Vec: rust’s Vec struct. Can come from std or the alloc crate.

Traits:

  • Future: rust’s Future trait. Can come from std or the core crate.
  • IntoIterator: rust’s IntoIterator trait. Can come from std or the core crate.
  • Iterator: rust’s IntoIterator trait. Can come from std or the core crate.

Modules§

iter
Composable external iteration.
mem
Basic functions for dealing with memory.

Macros§

format
Creates a String using 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.
IntoIterator
Conversion into an Iterator.
Iterator
A trait for dealing with iterators.

Type Aliases§

Map
NonZeroUsize
A usize that is known not to equal zero.
Set