Enum clang::SourceError [] [src]

pub enum SourceError {
    AstDeserialization,
    Crash,
    Unknown,
}

Indicates the type of error that prevented the loading of a translation unit from a source file.

Variants

An error occurred while deserializing an AST file.

libclang crashed.

An unknown error occurred.

Trait Implementations

impl Copy for SourceError
[src]

impl Clone for SourceError
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for SourceError
[src]

[src]

Formats the value using the given formatter. Read more

impl PartialEq for SourceError
[src]

[src]

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

1.0.0
[src]

This method tests for !=.

impl Eq for SourceError
[src]

impl Hash for SourceError
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl Error for SourceError
[src]

[src]

A short description of the error. Read more

1.0.0
[src]

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

impl From<SourceError> for String
[src]

[src]

Performs the conversion.

impl Display for SourceError
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for SourceError

impl Sync for SourceError