pub enum LineErrorKind {
LineParsing,
ExpressionParsing(ParseError<ConditionParsingError>),
ConflictingCondition(InvalidChangeError),
InvalidCharacterInEventName(char),
NoEvent,
SubheaderWithoutHeader,
}Expand description
Represents the kinds of errors that can occur when parsing a line.
Variants§
LineParsing
Indicates an error occurred while parsing the line.
ExpressionParsing(ParseError<ConditionParsingError>)
Indicates an error occurred while parsing an expression.
ConflictingCondition(InvalidChangeError)
Indicates conflicting conditions were encountered.
InvalidCharacterInEventName(char)
Indicates an invalid character was encountered while parsing the event name.
NoEvent
Indicates no event was specified.
SubheaderWithoutHeader
Indicates a subheader was encountered without a corresponding header.
Trait Implementations§
Source§impl Clone for LineErrorKind
impl Clone for LineErrorKind
Source§fn clone(&self) -> LineErrorKind
fn clone(&self) -> LineErrorKind
Returns a copy of the value. Read more
1.0.0 · 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 LineErrorKind
impl Debug for LineErrorKind
Source§impl Display for LineErrorKind
impl Display for LineErrorKind
Source§impl Error for LineErrorKind
impl Error for LineErrorKind
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()
impl Copy for LineErrorKind
Auto Trait Implementations§
impl Freeze for LineErrorKind
impl RefUnwindSafe for LineErrorKind
impl Send for LineErrorKind
impl Sync for LineErrorKind
impl Unpin for LineErrorKind
impl UnwindSafe for LineErrorKind
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