[][src]Struct bitar::chunk_dictionary::ChunkDictionary

pub struct ChunkDictionary {
    pub application_version: String,
    pub source_checksum: Vec<u8>,
    pub source_total_size: u64,
    pub chunker_params: Option<ChunkerParameters>,
    pub chunk_compression: Option<ChunkCompression>,
    pub rebuild_order: Vec<u32>,
    pub chunk_descriptors: Vec<ChunkDescriptor>,
}

Fields

application_version: String

Dictionary was created with this version

source_checksum: Vec<u8>

Hash of the source file

source_total_size: u64

Total size of the source file

chunker_params: Option<ChunkerParameters>

Chunker parameters used when building archive

chunk_compression: Option<ChunkCompression>

Chunk compression used for all chunks in archive

rebuild_order: Vec<u32>

Array of chunk descriptor indexes describing howto rebuild the source

chunk_descriptors: Vec<ChunkDescriptor>

Chunk descriptors in order of first occurence in source file

Trait Implementations

impl Clone for ChunkDictionary[src]

impl Debug for ChunkDictionary[src]

impl Default for ChunkDictionary[src]

impl Message for ChunkDictionary[src]

impl PartialEq<ChunkDictionary> for ChunkDictionary[src]

impl StructuralPartialEq for ChunkDictionary[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.