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
//! States a body that arrives as parts, rather than one that arrives whole.
use Future;
/// States one part of a body that arrives as parts.
///
/// A part states what it was sent under, and it carries a body like any other. What it carries is
/// produced over time, so reading it is [`ChunksAlg`](crate::ChunksAlg) again, one level down: a
/// body of parts is a sequence, and so is each part's content.
/// States how an argument is read from a body that arrives as parts.
///
/// This is the reading counterpart of a body answered over time. There, a domain states what it
/// produces and an interpretation carries it; here, an interpretation produces the parts and a
/// domain states what it makes of them. `Parts` is whichever reader the interpretation has, so a
/// type stating this once is read the same way by every one of them.