pub enum LinguistError {
DeserializationError,
LanguageNotFound,
FileNotFound,
PatternCompileError(Error),
IOError(Error),
}Variants§
DeserializationError
Indicates that the language definition file could not be deserialized.
LanguageNotFound
Indicates that a specific language cannot be found.
FileNotFound
Indicates that a given file could not be found.
PatternCompileError(Error)
Represents an error that occurred while compiling a regular expression.
IOError(Error)
Represents an error occured concerning io stuff.
Trait Implementations§
Source§impl Debug for LinguistError
impl Debug for LinguistError
Source§impl From<Error> for LinguistError
impl From<Error> for LinguistError
Auto Trait Implementations§
impl Freeze for LinguistError
impl !RefUnwindSafe for LinguistError
impl Send for LinguistError
impl Sync for LinguistError
impl Unpin for LinguistError
impl !UnwindSafe for LinguistError
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