pub enum LayerSpecError {
Parse(String),
Unencodable {
field: String,
value: String,
why: &'static str,
},
UnknownLayout {
tool: String,
layout: String,
},
ManyRawPerPlatform {
first: String,
second: String,
},
RawPerPlatformNotWsc {
tool: String,
repo: String,
},
VsixForeignOwner {
name: String,
repo: String,
},
RepoNameMismatch {
name: String,
repo: String,
basename: String,
},
Duplicate {
kind: &'static str,
name: String,
},
UnverifiedWithoutReason {
tool: String,
},
ConflictingReason {
repo: String,
first: String,
second: String,
},
Empty,
}Variants§
Parse(String)
The TOML did not parse, or carried a field the schema does not define.
Unencodable
A value cannot survive the assembler’s encoding.
UnknownLayout
layout = "..." is not one the assembler implements.
ManyRawPerPlatform
The assembler carries exactly one raw-per-platform tool, as
WSC_VERSION. A second one has nowhere to go.
RawPerPlatformNotWsc
The assembler’s single raw-per-platform slot is not generic: it fetches
wsc from pulseengine/sigil. Any other tool put in it becomes a
request for the wrong tool from the wrong repository.
VsixForeignOwner
The assembler hardcodes pulseengine/ for extension repositories.
RepoNameMismatch
The assembler derives a tarball tool’s identity from its REPOSITORY
basename, so a manifest name that disagrees with it is discarded.
Duplicate
Two entries would land under one name.
UnverifiedWithoutReason
An opt-in that states no reason.
ConflictingReason
Two tools from one repository disagree about why it is unverified.
Empty
The manifest describes nothing to deposit.
Trait Implementations§
Source§impl Clone for LayerSpecError
impl Clone for LayerSpecError
Source§fn clone(&self) -> LayerSpecError
fn clone(&self) -> LayerSpecError
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for LayerSpecError
impl Debug for LayerSpecError
Source§impl Display for LayerSpecError
impl Display for LayerSpecError
impl Eq for LayerSpecError
Source§impl Error for LayerSpecError
impl Error for LayerSpecError
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()