Enum mmids_core::config::ConfigParseError
source ·
[−]pub enum ConfigParseError {
Show 17 variants
InvalidConfig(Error<Rule>),
UnexpectedRule {
rule: Rule,
section: String,
},
DuplicateWorkflowName {
name: String,
},
InvalidNodeName {
name: String,
line: usize,
},
ArgumentsSpecifiedOnSettingNode {
line: usize,
},
TooManySettingArguments {
line: usize,
},
InvalidSettingArgumentFormat {
line: usize,
},
InvalidRoutedByReactorArgument {
line: usize,
},
NoNameOnWorkflow {
line: usize,
},
InvalidWorkflowName {
line: usize,
name: String,
},
NoNameOnReactor {
line: usize,
},
InvalidReactorName {
line: usize,
name: String,
},
InvalidUpdateIntervalValue {
line: usize,
argument: String,
},
InvalidReactorParameterValueFormat {
line: usize,
},
TooManyReactorParameterValues {
line: usize,
},
DuplicateReactorName {
name: String,
},
NoExecutorForReactor {
line: usize,
},
}Expand description
Errors that can occur when parsing a configuration entry
Variants
InvalidConfig(Error<Rule>)
UnexpectedRule
DuplicateWorkflowName
Fields
name: StringInvalidNodeName
ArgumentsSpecifiedOnSettingNode
Fields
line: usizeTooManySettingArguments
Fields
line: usizeInvalidSettingArgumentFormat
Fields
line: usizeInvalidRoutedByReactorArgument
Fields
line: usizeNoNameOnWorkflow
Fields
line: usizeInvalidWorkflowName
NoNameOnReactor
Fields
line: usizeInvalidReactorName
InvalidUpdateIntervalValue
InvalidReactorParameterValueFormat
Fields
line: usizeTooManyReactorParameterValues
Fields
line: usizeDuplicateReactorName
Fields
name: StringNoExecutorForReactor
Fields
line: usizeTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ConfigParseError
impl Send for ConfigParseError
impl Sync for ConfigParseError
impl Unpin for ConfigParseError
impl UnwindSafe for ConfigParseError
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait. Read more
Convert Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait. Read more
Convert &Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s. Read more
Convert &mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more
