Enum ra_ap_hir_ty::display::HirDisplayError[][src]

pub enum HirDisplayError {
    DisplaySourceCodeError(DisplaySourceCodeError),
    FmtError,
}

Variants

DisplaySourceCodeError(DisplaySourceCodeError)

Errors that can occur when generating source code

FmtError

FmtError is required to be compatible with std::fmt::Display

Trait Implementations

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

Cast a value to type U using CastTo.

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

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.