Enum rtlola_hir::HirErr[][src]

pub enum HirErr {
    Ast(TransformationErr),
    Dependency(DependencyErr),
    Type(String),
}
Expand description

This HirErr is returned by from_ast or fully_analyzed in the case of an error during the a transformation.

Each variant contains the more detailed error of the transformation stage. See TransformationErr, DependencyErr and the error emitting by the Handler.

Variants

Ast

Contains an TransformationErr occurred during from_ast.

Tuple Fields of Ast

0: TransformationErr
Dependency

Contains an DependencyErr occurred during Dependency analysis.

Tuple Fields of Dependency

0: DependencyErr
Type

Contains an information about an type error, occurred during Type analysis. For detailed information look at the Handler error report.

Tuple Fields of Type

0: String

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.