pub enum LayerSpecError {
Parse(String),
Unencodable {
field: String,
value: String,
why: &'static str,
},
UnknownLayout {
tool: String,
layout: String,
},
ManyRawPerPlatform {
first: String,
second: String,
},
VsixForeignOwner {
name: String,
repo: String,
},
RepoNameMismatch {
name: String,
repo: String,
basename: String,
},
Duplicate {
kind: &'static str,
name: 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.
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.
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
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for LayerSpecError
impl PartialEq for LayerSpecError
impl StructuralPartialEq for LayerSpecError
Auto Trait Implementations§
impl Freeze for LayerSpecError
impl RefUnwindSafe for LayerSpecError
impl Send for LayerSpecError
impl Sync for LayerSpecError
impl Unpin for LayerSpecError
impl UnsafeUnpin for LayerSpecError
impl UnwindSafe for LayerSpecError
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more