pub enum MiniConfError {
Pest(Box<Error<Rule>>),
Semantic {
kind: ParseErrorKind,
line: usize,
message: String,
},
}Expand description
Errors produced while parsing MiniConf documents.
Variants§
Pest(Box<Error<Rule>>)
Underlying pest error emitted when the grammar fails.
Semantic
Higher-level semantic issue surfaced after the grammar matched.
Trait Implementations§
Source§impl Debug for MiniConfError
impl Debug for MiniConfError
Source§impl Display for MiniConfError
impl Display for MiniConfError
Source§impl Error for MiniConfError
impl Error for MiniConfError
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()
Auto Trait Implementations§
impl Freeze for MiniConfError
impl RefUnwindSafe for MiniConfError
impl Send for MiniConfError
impl Sync for MiniConfError
impl Unpin for MiniConfError
impl UnwindSafe for MiniConfError
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