#[repr(C)]pub enum ModuleStatus {
Uninstantiated = 0,
Instantiating = 1,
Instantiated = 2,
Evaluating = 3,
Evaluated = 4,
Errored = 5,
}
Expand description
The different states a module can be in.
This corresponds to the states used in ECMAScript except that “evaluated” is split into kEvaluated and kErrored, indicating success and failure, respectively.
Variants§
Trait Implementations§
Source§impl Debug for ModuleStatus
impl Debug for ModuleStatus
Source§impl PartialEq for ModuleStatus
impl PartialEq for ModuleStatus
impl Eq for ModuleStatus
impl StructuralPartialEq for ModuleStatus
Auto Trait Implementations§
impl Freeze for ModuleStatus
impl RefUnwindSafe for ModuleStatus
impl Send for ModuleStatus
impl Sync for ModuleStatus
impl Unpin for ModuleStatus
impl UnwindSafe for ModuleStatus
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more