pub enum RlError {
File {
filename: String,
message: String,
},
Parse {
message: String,
position: Option<Position>,
expected: Vec<String>,
},
Duplicate {
name: String,
first: Option<Position>,
second: Option<Position>,
},
Resolve {
element: String,
position: Option<Position>,
},
Other(String),
}
Variants§
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for RlError
impl Send for RlError
impl Sync for RlError
impl Unpin for RlError
impl UnwindSafe for RlError
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