Enum modio::error::DownloadError[][src]

pub enum DownloadError {
    NoPrimaryFile {
        game_id: u32,
        mod_id: u32,
    },
    FileNotFound {
        game_id: u32,
        mod_id: u32,
        file_id: u32,
    },
    MultipleFilesFound {
        game_id: u32,
        mod_id: u32,
        version: String,
    },
    VersionNotFound {
        game_id: u32,
        mod_id: u32,
        version: String,
    },
}

Variants

The mod has no primary file.

Fields of NoPrimaryFile

The specific file of a mod was not found.

Fields of FileNotFound

Multiple files for a given version were found and the policy was set to ResolvePolicy::Fail.

Fields of MultipleFilesFound

No file for a given version was found.

Fields of VersionNotFound

Trait Implementations

impl Debug for DownloadError
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations