pub enum AnalyzeConfigError {
InvalidOverrideSyntax {
raw: String,
},
UnknownOverridePath {
path: String,
suggestion: Option<&'static str>,
},
InvalidOverrideValue {
path: &'static str,
value: String,
expected: &'static str,
},
InvalidConfigValue {
path: &'static str,
message: String,
},
MissingAnalyzerTable,
MissingSchemaVersion,
UnsupportedSchemaVersion {
found: u64,
supported: u64,
},
InvalidToml {
message: String,
},
}Expand description
Validation and configuration errors for analyzer options and checked triage APIs.
Variants§
InvalidOverrideSyntax
Invalid override assignment syntax.
UnknownOverridePath
Unknown semantic override path.
Fields
InvalidOverrideValue
Override value could not be parsed for its path type.
Fields
InvalidConfigValue
Semantic option value failed validation.
Fields
MissingAnalyzerTable
Missing [analyzer] table in configuration input.
MissingSchemaVersion
Missing schema_version in configuration input.
UnsupportedSchemaVersion
Unsupported schema_version in configuration input.
Fields
InvalidToml
Invalid TOML error.
Trait Implementations§
Source§impl Clone for AnalyzeConfigError
impl Clone for AnalyzeConfigError
Source§fn clone(&self) -> AnalyzeConfigError
fn clone(&self) -> AnalyzeConfigError
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 AnalyzeConfigError
impl Debug for AnalyzeConfigError
Source§impl Display for AnalyzeConfigError
impl Display for AnalyzeConfigError
impl Eq for AnalyzeConfigError
Source§impl Error for AnalyzeConfigError
impl Error for AnalyzeConfigError
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<AnalyzeConfigError> for AnalyzeRunError
impl From<AnalyzeConfigError> for AnalyzeRunError
Source§fn from(value: AnalyzeConfigError) -> Self
fn from(value: AnalyzeConfigError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for AnalyzeConfigError
impl PartialEq for AnalyzeConfigError
Source§fn eq(&self, other: &AnalyzeConfigError) -> bool
fn eq(&self, other: &AnalyzeConfigError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AnalyzeConfigError
Auto Trait Implementations§
impl Freeze for AnalyzeConfigError
impl RefUnwindSafe for AnalyzeConfigError
impl Send for AnalyzeConfigError
impl Sync for AnalyzeConfigError
impl Unpin for AnalyzeConfigError
impl UnsafeUnpin for AnalyzeConfigError
impl UnwindSafe for AnalyzeConfigError
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.