[−][src]Enum syntect::LoadingError
Common error type used by syntax and theme loading
Variants
WalkDir(Error)
error finding all the files in a directory
Io(IoError)
error reading a file
ParseSyntax(ParseSyntaxError, Option<String>)
a syntax file was invalid in some way
ParseTheme(ParseThemeError)
a theme file was invalid in some way
ReadSettings(SettingsError)
a theme's Plist syntax was invalid in some way
A path given to a method was invalid. Possibly because it didn't reference a file or wasn't UTF-8.
Trait Implementations
impl Debug for LoadingError
[src]
impl Display for LoadingError
[src]
impl Error for LoadingError
[src]
fn description(&self) -> &str
[src]
fn cause(&self) -> Option<&dyn Error>
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
1.30.0[src]
fn backtrace(&self) -> Option<&Backtrace>
[src]
impl From<Error> for LoadingError
[src]
fn from(error: IoError) -> LoadingError
[src]
impl From<ParseSyntaxError> for LoadingError
[src]
fn from(error: ParseSyntaxError) -> LoadingError
[src]
impl From<ParseThemeError> for LoadingError
[src]
fn from(error: ParseThemeError) -> LoadingError
[src]
impl From<SettingsError> for LoadingError
[src]
fn from(error: SettingsError) -> LoadingError
[src]
Auto Trait Implementations
impl !RefUnwindSafe for LoadingError
impl !Send for LoadingError
impl !Sync for LoadingError
impl Unpin for LoadingError
impl !UnwindSafe for LoadingError
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,