pub enum ModuleLoadErrorReason {
    NotAllowed,
    NotFound,
    CompileFailed(Vec<CompilerMessage>),
    FileIOError(ErrorKind),
}
Expand description

Represents the reason for which a Rant module failed to load.

Variants

NotAllowed

The module could not load because the calling context has module loading disabled.

NotFound

The module was not found.

CompileFailed(Vec<CompilerMessage>)

Tuple Fields

The module could not be compiled.

FileIOError(ErrorKind)

Tuple Fields

The module could not load due to a file I/O error.

Trait Implementations

Formats the value using the given formatter. Read more

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.

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.