Module version2

Module version2 

Source
Expand description

This module contains several structs and methods to create, read and extend zff container in version 2.

Modules§

io
Contains IO modules to create, read and extend zff container in version 2.

Structs§

Chunk
This struct represents a full Chunk, including the appriopriate crate::header::ChunkHeader and the chunked data (encoded; compressed and/or encrypted, if set).
File
The File contains the appropriate FileHeader and FileFooter of a dumped File. Also this struct contains a position value for a Reader.
FileEncoder
The FileEncoder can be used to encode a [crate::file::File].
LogicalObjectEncoder
The LogicalObjectEncoder can be used to encode a logical object.
LogicalObjectInformation
This struct contains several information about a logical object.
PhysicalObjectEncoder
The PhysicalObjectEncoder can be used to encode a physical object.
PhysicalObjectInformation
This struct contains several information about a physical object.
Segment
Represents a full Segment, containing a crate::header::SegmentHeader, a crate::footer::SegmentFooter, a Reader to the appropriate segmented data and a position marker for this Reader.

Enums§

Object
The Object contains the appropriate object information.
ObjectEncoder
An encoder for each object. This is a wrapper Enum for PhysicalObjectEncoder and LogicalObjectEncoder.