[][src]Struct gazetta::error::AnnotatedError

pub struct AnnotatedError<E> where
    E: Error
{ pub location: PathBuf, pub error: E, }

Fields

location: PathBuferror: E

Methods

impl<E> AnnotatedError<E> where
    E: Error
[src]

pub fn new(location: PathBuf, error: E) -> AnnotatedError<E>[src]

Trait Implementations

impl<E> Display for AnnotatedError<E> where
    E: Error
[src]

impl<E> Error for AnnotatedError<E> where
    E: Error
[src]

impl<E> Clone for AnnotatedError<E> where
    E: Clone + Error
[src]

impl<E> Debug for AnnotatedError<E> where
    E: Debug + Error
[src]

impl From<AnnotatedError<Error>> for AnnotatedError<Error>[src]

Auto Trait Implementations

impl<E> Send for AnnotatedError<E> where
    E: Send

impl<E> Unpin for AnnotatedError<E> where
    E: Unpin

impl<E> Sync for AnnotatedError<E> where
    E: Sync

impl<E> UnwindSafe for AnnotatedError<E> where
    E: UnwindSafe

impl<E> RefUnwindSafe for AnnotatedError<E> where
    E: RefUnwindSafe

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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]