Skip to main content

Module archive

Module archive 

Source
Expand description

The two orthogonal traits, and the entry model they share.

Structs§

CreateOpts
DecodeOpts
EncodeOpts
Entry
One entry, borrowed from the archive it came from.
EntryMeta
OpenOpts
PlainSink
A Sink over a destination that needs no trailer — an uncompressed file.

Enums§

EntryKind
What an entry is. Hardlink is the same content as an EARLIER entry; a later phase adds CharDevice, BlockDevice, Fifo and Socket for tar and cpio, and #[non_exhaustive] keeps that from breaking downstream matches. Struct types deliberately do NOT carry this attribute — see the #[non_exhaustive] section of CONTRIBUTING.md.

Traits§

ArchiveRead
ArchiveWrite
Codec
A byte-stream transform. Knows nothing about files, names, or entries.
Container
A structure of entries. May invoke codecs internally.
Sink
A writer that needs an explicit, fallible completion step (trailers, CRCs).