pub enum LoadGrammarError {
InvalidPath,
LoadJSGrammarFile(JSError),
IO(String),
FileExtension(PathBuf),
}
Variants§
Trait Implementations§
Source§impl Debug for LoadGrammarError
impl Debug for LoadGrammarError
Source§impl Display for LoadGrammarError
impl Display for LoadGrammarError
Source§impl Error for LoadGrammarError
impl Error for LoadGrammarError
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()
Source§impl From<Error> for LoadGrammarError
impl From<Error> for LoadGrammarError
Source§impl From<JSError> for LoadGrammarError
impl From<JSError> for LoadGrammarError
Source§impl From<LoadGrammarError> for GenerateError
impl From<LoadGrammarError> for GenerateError
Source§fn from(source: LoadGrammarError) -> Self
fn from(source: LoadGrammarError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LoadGrammarError
impl RefUnwindSafe for LoadGrammarError
impl Send for LoadGrammarError
impl Sync for LoadGrammarError
impl Unpin for LoadGrammarError
impl UnwindSafe for LoadGrammarError
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