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
/// Traits for archive encoding and decoding operations
use crate::;
/// Trait for decoding archives from bytes
///
/// Implementors of this trait can decode archive data into a list of files.
///
/// This trait is only available when the `decode` feature is enabled.
/// Trait for encoding files into archives
///
/// Implementors of this trait can encode a list of files into archive format.
///
/// This trait is only available when the `encode` feature is enabled.
/// Combined trait for types that support both encoding and decoding
///
/// This is a marker trait that indicates a type can both encode and decode archives.
/// Only available when both `encode` and `decode` features are enabled.