Struct gluon_base::error::InFile[][src]

pub struct InFile<E> { /* fields omitted */ }

Error type which contains information of which file and where in the file the error occurred

Methods

impl<E: Display> InFile<E>
[src]

Creates a new InFile error which states that the error occurred in file using the file contents in source to provide a context to the span.

Trait Implementations

impl<E: Clone> Clone for InFile<E>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<E: Debug> Debug for InFile<E>
[src]

Formats the value using the given formatter. Read more

impl<E> PartialEq for InFile<E> where
    E: PartialEq
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<E: Display + AsDiagnostic> Display for InFile<E>
[src]

Formats the value using the given formatter. Read more

impl<E: Display + Debug + Any + AsDiagnostic> StdError for InFile<E>
[src]

This method is soft-deprecated. Read more

The lower-level cause of this error, if any. Read more

Auto Trait Implementations

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

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