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 Freeze for RlError
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