pub enum MsvcError {
Json {
at: usize,
wanted: &'static str,
},
NoManifest,
NoLicence,
NothingFound(&'static str),
NoPackage(String),
NoInstaller(String),
OutOfOrder(String),
}Expand description
Why a manifest could not be read or could not be chosen from.
Variants§
Json
The document did not parse.
The reader behind this is not part of the interface, so what comes out of it is the two things a person needs rather than the reader’s own type: what was expected and where.
Fields
NoManifest
The channel manifest has no installer manifest in it, which means it is not one.
NoLicence
The channel manifest names no licence, and a download that cannot show one is a download that does not happen.
NothingFound(&'static str)
The installer manifest has none of something there has to be one of.
NoPackage(String)
A package the selection needs is not in the manifest.
NoInstaller(String)
A Windows SDK installer the selection needs is not among the SDK package’s files.
OutOfOrder(String)
A package wrote its payloads before its id, which is a manifest laid out in a way this reader was written not to guess at.
Trait Implementations§
impl Eq for MsvcError
Source§impl Error for MsvcError
impl Error for MsvcError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()