[][src]Module asuran_core::repository::chunk

The Chunk is the lowest level of abstraction in an asuran repository.

Chunks are raw binary blobs, optionally compressed and encrypted, and keyed by an HMAC of their plain text contents, and tagged with an HMAC of their encrypted contents (different keys are used for both HMACs).

They can contain any arbitrary sequence of bytes.

Structs

Chunk

A binary blob, ready to be commited to storage

ChunkBody

A split representation of a Chunk's body, or contained data

ChunkHeader

A split representation of a Chunk's 'header' or metadata. Used for on disk storage

ChunkID

Key used for indexing a Chunk in a repository

ChunkSettings

Encapsulates the Encryption, Compression, and HMAC tags for a chunk

Enums

ChunkError

Error for all the various things that can go wrong with handling chunks

Type Definitions

Result