ferritin 0.8.0

Human-friendly CLI for browsing Rust documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
---
source: ferritin/src/tests.rs
expression: "render_for_tests(Commands::get(\"std\"), OutputMode :: Tty)"
---
Item: std
Kind: Module
Visibility: Public
Defined at: [std](http://docs.rust-lang.org/nightly/std/index.html)
In crate: std (RUST_VERSION)

The Rust Standard Library
================================================================================

The Rust Standard Library is the foundation of portable Rust software, a set of
minimal and battle-tested shared abstractions for the [broader Rust](https://crates.io)[ ](https://crates.io)[ecosystem](https://crates.io).
It offers core types, like [Vec<T>](https://doc.rust-lang.org/nightly/alloc/vec/index.html?search=alloc%3A%3Avec%3A%3AVec) and [Option<T>](https://doc.rust-lang.org/nightly/core/option/index.html?search=core%3A%3Aoption%3A%3AOption), library-defined [operations on](#primitives)
[language](#primitives)[ ](#primitives)[primitives](#primitives), [standard macros](#macros), [I/O](http://docs.rust-lang.org/nightly/std/io/index.html) and [multithreading](http://docs.rust-lang.org/nightly/std/thread/index.html), among [many other](#what-is-in-the-standard-library-documentation)
[things](#what-is-in-the-standard-library-documentation).

std is available to all Rust crates by default. Therefore, the standard library
can be accessed in [use](https://doc.rust-lang.org/nightly/std/index.html?search=std%3A%3A%2E%2Fbook%2Fch07%2D02%2Ddefining%2Dmodules%2Dto%2Dcontrol%2Dscope%2Dand%2Dprivacy) statements through the path std, as in [use std::env](https://doc.rust-lang.org/nightly/std/index.html?search=std%3A%3Aenv).

How to read this documentation
================================================================================

If you already know the name of what you are looking for, the fastest way to 
find it is to use the search button at the top of the page.

Otherwise, you may want to jump to one of these useful sections:

  ◦ [std::*](#modules)[ modules](#modules)

  ◦ [Primitive types](#primitives)

  ◦ [Standard macros](#macros)

  ◦ [The Rust Prelude](http://docs.rust-lang.org/nightly/std/prelude/index.html)

If this is your first time, the documentation for the standard library is 
written to be casually perused. Clicking on interesting things should generally
lead you to interesting places. Still, there are important bits you don't want
to miss, so read on for a tour of the standard library and its documentation!

Once you are familiar with the contents of the standard library you may begin
to find the verbosity of the prose distracting. At this stage in your 
development you may want to press the " Summary" button near the top of the
page to collapse it into a more skimmable view.

While you are looking at the top of the page, also notice the "Source" link.
Rust's API documentation comes with the source code and you are encouraged to
read it. The standard library source is generally high quality and a peek
behind the curtains is often enlightening.

What is in the standard library documentation?
================================================================================

First of all, The Rust Standard Library is divided into a number of focused 
modules, [all listed further down this page](#modules). These modules are the bedrock upon
which all of Rust is forged, and they have mighty names like [std::slice](https://doc.rust-lang.org/nightly/alloc/index.html?search=alloc%3A%3Aslice) and 
[std::cmp](https://doc.rust-lang.org/nightly/core/index.html?search=core%3A%3Acmp). Modules' documentation typically includes an overview of the module
along with examples, and are a smart place to start familiarizing yourself with
the library.

Second, implicit methods on [primitive types](https://doc.rust-lang.org/nightly/std/index.html?search=std%3A%3A%2E%2Fbook%2Fch03%2D02%2Ddata%2Dtypes) are documented here. This can be a
source of confusion for two reasons:

  ◦ While primitives are implemented by the compiler, the standard library 
    implements methods directly on the primitive types (and it is the only 
    library that does so), which are [documented in the section on](#primitives)[ ](#primitives)[primitives](#primitives).

  ◦ The standard library exports many modules with the same name as primitive
    types. These define additional items related to the primitive type, but not
    the all-important methods.

So for example there is a [page for the primitive type](http://docs.rust-lang.org/nightly/std/primitive.char.html)[ ](http://docs.rust-lang.org/nightly/std/primitive.char.html)[char](http://docs.rust-lang.org/nightly/std/primitive.char.html) that lists all the
methods that can be called on characters (very useful), and there is a [page for](https://doc.rust-lang.org/nightly/core/index.html?search=core%3A%3Achar)
[the module](https://doc.rust-lang.org/nightly/core/index.html?search=core%3A%3Achar)[ ](https://doc.rust-lang.org/nightly/core/index.html?search=core%3A%3Achar)[std::char](https://doc.rust-lang.org/nightly/core/index.html?search=core%3A%3Achar) that documents iterator and error types created by these
methods (rarely useful).

Note the documentation for the primitives [str](http://docs.rust-lang.org/nightly/std/primitive.str.html) and [[T]](http://docs.rust-lang.org/nightly/std/primitive.slice.html) (also called 'slice').
Many method calls on [String](https://doc.rust-lang.org/nightly/alloc/string/index.html?search=alloc%3A%3Astring%3A%3AString) and [Vec<T>](https://doc.rust-lang.org/nightly/alloc/vec/index.html?search=alloc%3A%3Avec%3A%3AVec) are actually calls to methods on [str](http://docs.rust-lang.org/nightly/std/primitive.str.html) and 
[[T]](http://docs.rust-lang.org/nightly/std/primitive.slice.html) respectively, via [deref](https://doc.rust-lang.org/nightly/std/index.html?search=std%3A%3A%2E%2Fbook%2Fch15%2D02%2Dderef)[ ](https://doc.rust-lang.org/nightly/std/index.html?search=std%3A%3A%2E%2Fbook%2Fch15%2D02%2Dderef)[coercions](https://doc.rust-lang.org/nightly/std/index.html?search=std%3A%3A%2E%2Fbook%2Fch15%2D02%2Dderef).

Third, the standard library defines [The Rust Prelude](http://docs.rust-lang.org/nightly/std/prelude/index.html), a small collection of
items - mostly traits - that are imported into every module of every crate. The
traits in the prelude are pervasive, making the prelude documentation a good
entry point to learning about the library.

And finally, the standard library exports a number of standard macros, and [lists](#macros)
[them on this page](#macros) (technically, not all of the standard macros are defined by
the standard library - some are defined by the compiler - but they are
documented here the same). Like the prelude, the standard macros are imported
by default into all crates.

Contributing changes to the documentation
================================================================================

Check out the Rust contribution guidelines [here](https://rustc-dev-guide.rust-lang.org/contributing.html#writing-documentation). The source for this
documentation can be found on [GitHub](https://github.com/rust-lang/rust) in the 'library/std/' directory. To
contribute changes, make sure you read the guidelines first, then submit 
pull-requests for your suggested changes.

Contributions are appreciated! If you see a part of the docs that can be 
improved, submit a PR, or chat with us first on [Zulip](https://rust-lang.zulipchat.com/#narrow/channel/219381-t-libs/) #t-libs.

A Tour of The Rust Standard Library
================================================================================

The rest of this crate documentation is dedicated to pointing out notable 
features of The Rust Standard Library.

Containers and collections
--------------------------------------------------------------------------------

The [option](https://doc.rust-lang.org/nightly/core/index.html?search=core%3A%3Aoption) and [result](https://doc.rust-lang.org/nightly/core/index.html?search=core%3A%3Aresult) modules define optional and error-handling types, 
[Option<T>](https://doc.rust-lang.org/nightly/core/option/index.html?search=core%3A%3Aoption%3A%3AOption) and [Result<T, E>](https://doc.rust-lang.org/nightly/core/result/index.html?search=core%3A%3Aresult%3A%3AResult). The [iter](https://doc.rust-lang.org/nightly/core/index.html?search=core%3A%3Aiter) module defines Rust's iterator trait, 
[Iterator](https://doc.rust-lang.org/nightly/core/iter/traits/iterator/index.html?search=core%3A%3Aiter%3A%3Atraits%3A%3Aiterator%3A%3AIterator), which works with the [for](https://doc.rust-lang.org/nightly/std/index.html?search=std%3A%3A%2E%2Fbook%2Fch03%2D05%2Dcontrol%2Dflow) loop to access collections.

The standard library exposes three common ways to deal with contiguous regions
of memory:

  ◦ [Vec<T>](https://doc.rust-lang.org/nightly/alloc/vec/index.html?search=alloc%3A%3Avec%3A%3AVec) - A heap-allocated vector that is resizable at runtime.

  ◦ [[T; N]](http://docs.rust-lang.org/nightly/std/primitive.array.html) - An inline array with a fixed size at compile time.

  ◦ [[T]](http://docs.rust-lang.org/nightly/std/primitive.slice.html) - A dynamically sized slice into any other kind of contiguous storage,
    whether heap-allocated or not.

Slices can only be handled through some kind of pointer, and as such come in
many flavors such as:

  ◦ &[T] - shared slice

  ◦ &mut [T] - mutable slice

  ◦ [Box<[T]>](https://doc.rust-lang.org/nightly/alloc/index.html?search=alloc%3A%3Aboxed) - owned slice

[str](http://docs.rust-lang.org/nightly/std/primitive.str.html), a UTF-8 string slice, is a primitive type, and the standard library defines
many methods for it. Rust [str](http://docs.rust-lang.org/nightly/std/primitive.str.html)s are typically accessed as immutable references: 
&str. Use the owned [String](https://doc.rust-lang.org/nightly/alloc/string/index.html?search=alloc%3A%3Astring%3A%3AString) for building and mutating strings.

For converting to strings use the [format!](https://doc.rust-lang.org/nightly/alloc/index.html?search=alloc%3A%3Aformat) macro, and for converting from strings
use the [FromStr](https://doc.rust-lang.org/nightly/core/str/traits/index.html?search=core%3A%3Astr%3A%3Atraits%3A%3AFromStr) trait.

Data may be shared by placing it in a reference-counted box or the [Rc](https://doc.rust-lang.org/nightly/alloc/rc/index.html?search=alloc%3A%3Arc%3A%3ARc) type, and
if further contained in a [Cell](https://doc.rust-lang.org/nightly/core/cell/index.html?search=core%3A%3Acell%3A%3ACell) or [RefCell](https://doc.rust-lang.org/nightly/core/cell/index.html?search=core%3A%3Acell%3A%3ARefCell), may be mutated as well as shared.
Likewise, in a concurrent setting it is common to pair an 
atomically-reference-counted box, [Arc](https://doc.rust-lang.org/nightly/alloc/sync/index.html?search=alloc%3A%3Async%3A%3AArc), with a [Mutex](http://docs.rust-lang.org/nightly/std/sync/poison/mutex/struct.Mutex.html) to get the same effect.

The [collections](http://docs.rust-lang.org/nightly/std/collections/index.html) module defines maps, sets, linked lists and other typical
collection types, including the common [HashMap<K, V>](http://docs.rust-lang.org/nightly/std/collections/hash/map/struct.HashMap.html).

Platform abstractions and I/O
--------------------------------------------------------------------------------

Besides basic data types, the standard library is largely concerned with 
abstracting over differences in common platforms, most notably Windows and Unix
derivatives.

Common types of I/O, including [files](http://docs.rust-lang.org/nightly/std/fs/struct.File.html), [TCP](http://docs.rust-lang.org/nightly/std/net/tcp/struct.TcpStream.html), and [UDP](http://docs.rust-lang.org/nightly/std/net/udp/struct.UdpSocket.html), are defined in the [io](http://docs.rust-lang.org/nightly/std/io/index.html), [fs](http://docs.rust-lang.org/nightly/std/fs/index.html),
and [net](http://docs.rust-lang.org/nightly/std/net/index.html) modules.

The [thread](http://docs.rust-lang.org/nightly/std/thread/index.html) module contains Rust's threading abstractions. [sync](http://docs.rust-lang.org/nightly/std/sync/index.html) contains further
primitive shared memory types, including [atomic](https://doc.rust-lang.org/nightly/core/sync/index.html?search=core%3A%3Async%3A%3Aatomic), [mpmc](http://docs.rust-lang.org/nightly/std/sync/mpmc/index.html) and [mpsc](http://docs.rust-lang.org/nightly/std/sync/mpsc/index.html), which contains
the channel types for message passing.

Use before and after main()
================================================================================

Many parts of the standard library are expected to work before and after main();
 but this is not guaranteed or ensured by tests. It is recommended that you
write your own tests and run them on each platform you wish to support. This
means that use of std before/after main, especially of features that interact
with the OS or global state, is exempted from stability and portability
guarantees and instead only provided on a best-effort basis. Nevertheless bug
reports are appreciated.

On the other hand core and alloc are most likely to work in such environments
with the caveat that any hookable behavior such as panics, oom handling or
allocators will also depend on the compatibility of the hooks.

Some features may also behave differently outside main, e.g. stdio could become
unbuffered, some panics might turn into aborts, backtraces might not get
symbolicated or similar.

Non-exhaustive list of known limitations:

  ◦ after-main use of thread-locals, which also affects additional features:
      ▪ [thread::current()](http://docs.rust-lang.org/nightly/std/thread/current/fn.current.html)

  ◦ under UNIX, before main, file descriptors 0, 1, and 2 may be unchanged (they
    are guaranteed to be open during main, and are opened to /dev/null O_RDWR
    if they weren't open on program start)

Modules

  ◦ [alloc](http://docs.rust-lang.org/nightly/std/alloc/index.html) 
    Memory allocation APIs. [...]

  ◦ [any](http://docs.rust-lang.org/nightly/core/any/index.html) 
    Utilities for dynamic typing or type reflection. [...]

  ◦ [arch](http://docs.rust-lang.org/nightly/std/arch/index.html) 
    SIMD and vendor intrinsics module. [...]

  ◦ [array](http://docs.rust-lang.org/nightly/core/array/index.html) 
    Utilities for the array primitive type. [...]

  ◦ [ascii](http://docs.rust-lang.org/nightly/std/ascii/index.html) 
    Operations on ASCII strings and characters. [...]

  ◦ [async_iter](http://docs.rust-lang.org/nightly/core/async_iter/index.html) 
    Composable asynchronous iteration. [...]

  ◦ [autodiff](http://docs.rust-lang.org/nightly/std/autodiff/index.html) 
    This module provides support for automatic differentiation. For precise
    information on differences between the autodiff_forward and autodiff_reverse
    macros and how to use them, see their respective documentation. [...]

  ◦ [backtrace](http://docs.rust-lang.org/nightly/std/backtrace/index.html) 
    Support for capturing a stack backtrace of an OS thread [...]

  ◦ [borrow](http://docs.rust-lang.org/nightly/alloc/borrow/index.html) 
    A module for working with borrowed data.

  ◦ [boxed](http://docs.rust-lang.org/nightly/alloc/boxed/index.html) 
    The Box<T> type for heap allocation. [...]

  ◦ [bstr](http://docs.rust-lang.org/nightly/std/bstr/index.html) 
    The ByteStr and ByteString types and trait implementations.

  ◦ [cell](http://docs.rust-lang.org/nightly/core/cell/index.html) 
    Shareable mutable containers. [...]

  ◦ [char](http://docs.rust-lang.org/nightly/core/char/index.html) 
    Utilities for the char primitive type. [...]

  ◦ [clone](http://docs.rust-lang.org/nightly/core/clone/index.html) 
    The Clone trait for types that cannot be 'implicitly copied'. [...]

  ◦ [cmp](http://docs.rust-lang.org/nightly/core/cmp/index.html) 
    Utilities for comparing and ordering values. [...]

  ◦ [collections](http://docs.rust-lang.org/nightly/std/collections/index.html) 
    Collection types. [...]

  ◦ [convert](http://docs.rust-lang.org/nightly/core/convert/index.html) 
    Traits for conversions between types. [...]

  ◦ [default](http://docs.rust-lang.org/nightly/core/default/index.html) 
    The Default trait for types with a default value.

  ◦ [env](http://docs.rust-lang.org/nightly/std/env/index.html) 
    Inspection and manipulation of the process's environment. [...]

  ◦ [error](http://docs.rust-lang.org/nightly/std/error/index.html) 
    Interfaces for working with Errors. [...]

  ◦ [f128](http://docs.rust-lang.org/nightly/std/f128/index.html) 
    Constants for the f128 quadruple-precision floating point type. [...]

  ◦ [f16](http://docs.rust-lang.org/nightly/std/f16/index.html) 
    Constants for the f16 half-precision floating point type. [...]

  ◦ [f32](http://docs.rust-lang.org/nightly/std/f32/index.html) 
    Constants for the f32 single-precision floating point type. [...]

  ◦ [f64](http://docs.rust-lang.org/nightly/std/f64/index.html) 
    Constants for the f64 double-precision floating point type. [...]

  ◦ [ffi](http://docs.rust-lang.org/nightly/std/ffi/index.html) 
    Utilities related to FFI bindings. [...]

  ◦ [field](http://docs.rust-lang.org/nightly/core/field/index.html) 
    Field Reflection

  ◦ [fmt](http://docs.rust-lang.org/nightly/alloc/fmt/index.html) 
    Utilities for formatting and printing Strings. [...]

  ◦ [from](http://docs.rust-lang.org/nightly/std/from/index.html) 
    Unstable module containing the unstable From derive macro.

  ◦ [fs](http://docs.rust-lang.org/nightly/std/fs/index.html) 
    Filesystem manipulation operations. [...]

  ◦ [future](http://docs.rust-lang.org/nightly/core/future/index.html) 
    Asynchronous basic functionality. [...]

  ◦ [hash](http://docs.rust-lang.org/nightly/std/hash/index.html) 
    Generic hashing support. [...]

  ◦ [hint](http://docs.rust-lang.org/nightly/core/hint/index.html) 
    Hints to compiler that affects how code should be emitted or optimized. [...]

  ◦ [i128](https://doc.rust-lang.org/nightly/core/) 
    Redundant constants module for the [i128](http://docs.rust-lang.org/nightly/core/primitive.i128.html)[ primitive type](http://docs.rust-lang.org/nightly/core/primitive.i128.html). [...]

  ◦ [i16](https://doc.rust-lang.org/nightly/core/) 
    Redundant constants module for the [i16](http://docs.rust-lang.org/nightly/core/primitive.i16.html)[ primitive type](http://docs.rust-lang.org/nightly/core/primitive.i16.html). [...]

  ◦ [i32](https://doc.rust-lang.org/nightly/core/) 
    Redundant constants module for the [i32](http://docs.rust-lang.org/nightly/core/primitive.i32.html)[ primitive type](http://docs.rust-lang.org/nightly/core/primitive.i32.html). [...]

  ◦ [i64](https://doc.rust-lang.org/nightly/core/) 
    Redundant constants module for the [i64](http://docs.rust-lang.org/nightly/core/primitive.i64.html)[ primitive type](http://docs.rust-lang.org/nightly/core/primitive.i64.html). [...]

  ◦ [i8](https://doc.rust-lang.org/nightly/core/) 
    Redundant constants module for the [i8](http://docs.rust-lang.org/nightly/core/primitive.i8.html)[ primitive type](http://docs.rust-lang.org/nightly/core/primitive.i8.html). [...]

  ◦ [intrinsics](http://docs.rust-lang.org/nightly/core/intrinsics/index.html) 
    Compiler intrinsics. [...]

  ◦ [io](http://docs.rust-lang.org/nightly/std/io/index.html) 
    Traits, helpers, and type definitions for core I/O functionality. [...]

  ◦ [isize](https://doc.rust-lang.org/nightly/core/) 
    Redundant constants module for the [isize](http://docs.rust-lang.org/nightly/core/primitive.isize.html)[ primitive type](http://docs.rust-lang.org/nightly/core/primitive.isize.html). [...]

  ◦ [iter](http://docs.rust-lang.org/nightly/core/iter/index.html) 
    Composable external iteration. [...]

  ◦ [marker](http://docs.rust-lang.org/nightly/core/marker/index.html) 
    Primitive traits and types representing basic properties of types. [...]

  ◦ [mem](http://docs.rust-lang.org/nightly/core/mem/index.html) 
    Basic functions for dealing with memory, values, and types. [...]

  ◦ [net](http://docs.rust-lang.org/nightly/std/net/index.html) 
    Networking primitives for TCP/UDP communication. [...]

  ◦ [num](http://docs.rust-lang.org/nightly/std/num/index.html) 
    Additional functionality for numerics. [...]

  ◦ [ops](http://docs.rust-lang.org/nightly/core/ops/index.html) 
    Overloadable operators. [...]

  ◦ [option](http://docs.rust-lang.org/nightly/core/option/index.html) 
    Optional values. [...]

  ◦ [os](http://docs.rust-lang.org/nightly/std/os/index.html) 
    OS-specific functionality.

  ◦ [panic](http://docs.rust-lang.org/nightly/std/panic/index.html) 
    Panic support in the standard library.

  ◦ [pat](http://docs.rust-lang.org/nightly/std/pat/index.html) 
    Helper module for exporting the pattern_type macro

  ◦ [path](http://docs.rust-lang.org/nightly/std/path/index.html) 
    Cross-platform path manipulation. [...]

  ◦ [pin](http://docs.rust-lang.org/nightly/core/pin/index.html) 
    Types that pin data to a location in memory. [...]

  ◦ [prelude](http://docs.rust-lang.org/nightly/std/prelude/index.html) 
    The Rust Prelude [...]

  ◦ [process](http://docs.rust-lang.org/nightly/std/process/index.html) 
    A module for working with processes. [...]

  ◦ [ptr](http://docs.rust-lang.org/nightly/core/ptr/index.html) 
    Manually manage memory through raw pointers. [...]

  ◦ [random](http://docs.rust-lang.org/nightly/std/random/index.html) 
    Random value generation.

  ◦ [range](http://docs.rust-lang.org/nightly/core/range/index.html) 
    Replacement range types [...]

  ◦ [rc](http://docs.rust-lang.org/nightly/alloc/rc/index.html) 
    Single-threaded reference-counting pointers. 'Rc' stands for 'Reference 
    Counted'. [...]

  ◦ [result](http://docs.rust-lang.org/nightly/core/result/index.html) 
    Error handling with the Result type. [...]

  ◦ [simd](http://docs.rust-lang.org/nightly/std/simd/index.html) 
    Portable SIMD module. [...]

  ◦ [slice](http://docs.rust-lang.org/nightly/alloc/slice/index.html) 
    Utilities for the slice primitive type. [...]

  ◦ [str](http://docs.rust-lang.org/nightly/alloc/str/index.html) 
    Utilities for the str primitive type. [...]

  ◦ [string](http://docs.rust-lang.org/nightly/alloc/string/index.html) 
    A UTF-8–encoded, growable string. [...]

  ◦ [sync](http://docs.rust-lang.org/nightly/std/sync/index.html) 
    Useful synchronization primitives. [...]

  ◦ [task](http://docs.rust-lang.org/nightly/std/task/index.html) 
    Types and Traits for working with asynchronous tasks.

  ◦ [thread](http://docs.rust-lang.org/nightly/std/thread/index.html) 
    Native threads. [...]

  ◦ [time](http://docs.rust-lang.org/nightly/std/time/index.html) 
    Temporal quantification. [...]

  ◦ [u128](https://doc.rust-lang.org/nightly/core/) 
    Redundant constants module for the [u128](http://docs.rust-lang.org/nightly/core/primitive.u128.html)[ primitive type](http://docs.rust-lang.org/nightly/core/primitive.u128.html). [...]

  ◦ [u16](https://doc.rust-lang.org/nightly/core/) 
    Redundant constants module for the [u16](http://docs.rust-lang.org/nightly/core/primitive.u16.html)[ primitive type](http://docs.rust-lang.org/nightly/core/primitive.u16.html). [...]

  ◦ [u32](https://doc.rust-lang.org/nightly/core/) 
    Redundant constants module for the [u32](http://docs.rust-lang.org/nightly/core/primitive.u32.html)[ primitive type](http://docs.rust-lang.org/nightly/core/primitive.u32.html). [...]

  ◦ [u64](https://doc.rust-lang.org/nightly/core/) 
    Redundant constants module for the [u64](http://docs.rust-lang.org/nightly/core/primitive.u64.html)[ primitive type](http://docs.rust-lang.org/nightly/core/primitive.u64.html). [...]

  ◦ [u8](https://doc.rust-lang.org/nightly/core/) 
    Redundant constants module for the [u8](http://docs.rust-lang.org/nightly/core/primitive.u8.html)[ primitive type](http://docs.rust-lang.org/nightly/core/primitive.u8.html). [...]

  ◦ [unsafe_binder](http://docs.rust-lang.org/nightly/core/unsafe_binder/index.html) 
    Operators used to turn types into unsafe binders and back.

  ◦ [usize](https://doc.rust-lang.org/nightly/core/) 
    Redundant constants module for the [usize](http://docs.rust-lang.org/nightly/core/primitive.usize.html)[ primitive type](http://docs.rust-lang.org/nightly/core/primitive.usize.html). [...]

  ◦ [vec](http://docs.rust-lang.org/nightly/alloc/vec/index.html) 
    A contiguous growable array type with heap-allocated contents, written Vec<T>. [...]

  ◦ [vec](http://docs.rust-lang.org/nightly/alloc/vec/index.html) 
    A contiguous growable array type with heap-allocated contents, written Vec<T>. [...]

Macros

  ◦ [format](http://docs.rust-lang.org/nightly/alloc/macro.format.html) 
    Creates a String using interpolation of runtime expressions. [...]