pub enum GetParserError {
NoParserFoundForExtension(String),
NoLanguageFoundForExtension(String),
LoadingGrammer(LanguageError),
}
Variants§
NoParserFoundForExtension(String)
NoLanguageFoundForExtension(String)
LoadingGrammer(LanguageError)
Trait Implementations§
Source§impl Debug for GetParserError
impl Debug for GetParserError
Source§impl Display for GetParserError
impl Display for GetParserError
Source§impl Error for GetParserError
impl Error for GetParserError
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<LanguageError> for GetParserError
impl From<LanguageError> for GetParserError
Source§fn from(source: LanguageError) -> Self
fn from(source: LanguageError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GetParserError
impl RefUnwindSafe for GetParserError
impl Send for GetParserError
impl Sync for GetParserError
impl Unpin for GetParserError
impl UnwindSafe for GetParserError
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