Enum rant::ModuleResolveErrorReason
source · [−]pub enum ModuleResolveErrorReason {
NotFound,
CompileFailed(Vec<CompilerMessage>),
FileIOError(ErrorKind),
}
Expand description
Represents the reason for which a Rant module failed to load.
Variants
NotFound
The module was not found.
CompileFailed(Vec<CompilerMessage>)
The module could not be compiled.
FileIOError(ErrorKind)
The module could not load due to a file I/O error.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ModuleResolveErrorReason
impl Send for ModuleResolveErrorReason
impl Sync for ModuleResolveErrorReason
impl Unpin for ModuleResolveErrorReason
impl UnwindSafe for ModuleResolveErrorReason
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more