[][src]Struct source_error::Error

pub struct Error<S> { /* fields omitted */ }

An Error type targetting errors tied to source file contents

Most of the utility of this type is in its implementation of Display which renders the error next along with the relative line of code

Trait Implementations

impl<S> Debug for Error<S>[src]

impl<S> Display for Error<S> where
    S: AsRef<str>, 
[src]

Creates a colorized display of error information

You can disable color by exporting the NO_COLOR environment variable to anything but "0"

impl<S> Error for Error<S> where
    S: AsRef<str>, 
[src]

Auto Trait Implementations

impl<S> Send for Error<S> where
    S: Send

impl<S> Unpin for Error<S> where
    S: Unpin

impl<S> Sync for Error<S> where
    S: Sync

impl<S> UnwindSafe for Error<S> where
    S: UnwindSafe

impl<S> RefUnwindSafe for Error<S> where
    S: RefUnwindSafe

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]