Enum archlinux_repo::Progress[][src]

pub enum Progress {
    LoadingDb,
    LoadingDbChunk(u64Option<u64>),
    ReadingDbFile(String),
    ReadingDbDone,
    LoadingFilesMetadata,
    LoadingFilesMetadataChunk(u64Option<u64>),
    ReadingFilesMetadataFile(String),
    ReadingFilesDone,
}
Expand description

Loading progress

Variants

LoadingDb

Sending request to db file

LoadingDbChunk(u64Option<u64>)

Reading response chunks of db file. Parameters are: bytes read, file size if present

Tuple Fields of LoadingDbChunk

0: u641: Option<u64>
ReadingDbFile(String)

Reading database file from archive. Parameter is file name

Tuple Fields of ReadingDbFile

0: String
ReadingDbDone

Database loaded

LoadingFilesMetadata

Sending request to files metadata file

LoadingFilesMetadataChunk(u64Option<u64>)

Reading response chunk of files metadata file. Parameters are: bytes read, file size if present

Tuple Fields of LoadingFilesMetadataChunk

0: u641: Option<u64>
ReadingFilesMetadataFile(String)

Reading files metadata file from archive. Parameter is file name

Tuple Fields of ReadingFilesMetadataFile

0: String
ReadingFilesDone

Files metadata loaded

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.