pub enum RuntimeSpecError {
EmptyAptPackage,
InvalidAptPackage {
package: String,
},
EmptySetupCommand,
EmptyToolVersion {
tool: RuntimeTool,
},
InvalidToolVersion {
tool: RuntimeTool,
version: String,
},
ConflictingCompilerVersions {
first: String,
second: String,
},
}Expand description
Errors returned while parsing workspace runtime setup.
Variants§
EmptyAptPackage
An apt package entry was empty or only whitespace.
InvalidAptPackage
An apt package entry contained characters that are unsafe for shell word splitting.
EmptySetupCommand
A setup command was empty or only whitespace.
EmptyToolVersion
A declarative runtime tool version was empty or only whitespace.
Fields
§
tool: RuntimeToolTool with an empty version.
InvalidToolVersion
A declarative runtime tool version contained unsafe characters.
ConflictingCompilerVersions
Multiple C/C++ compiler aliases requested different Clang versions.
Trait Implementations§
Source§impl Debug for RuntimeSpecError
impl Debug for RuntimeSpecError
Source§impl Display for RuntimeSpecError
impl Display for RuntimeSpecError
impl Eq for RuntimeSpecError
Source§impl Error for RuntimeSpecError
impl Error for RuntimeSpecError
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 From<RuntimeSpecError> for ManifestError
impl From<RuntimeSpecError> for ManifestError
Source§fn from(source: RuntimeSpecError) -> Self
fn from(source: RuntimeSpecError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for RuntimeSpecError
impl PartialEq for RuntimeSpecError
Source§fn eq(&self, other: &RuntimeSpecError) -> bool
fn eq(&self, other: &RuntimeSpecError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RuntimeSpecError
Auto Trait Implementations§
impl Freeze for RuntimeSpecError
impl RefUnwindSafe for RuntimeSpecError
impl Send for RuntimeSpecError
impl Sync for RuntimeSpecError
impl Unpin for RuntimeSpecError
impl UnsafeUnpin for RuntimeSpecError
impl UnwindSafe for RuntimeSpecError
Blanket Implementations§
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
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.