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
// DO NOT modify manually! Generate with `gen_code.py`.
//! Traits to provide a method for dropping values of specific types,
//! as an alternative to a type-agnostic [`drop`] or `_ =` assignment.
//! This is useful to avoid dropping the wrong type, e.g.,
//! when sending a message through a channel.
use JoinHandle;
/// Provides [`DropResult::drop_result`] for dropping [`Result`] values.
/// Provides [`DropBool::drop_bool`] for dropping [`bool`] values.
/// Provides [`DropJoinHandle::drop_join_handle`] for dropping [`JoinHandle`] values.