Enum v8::ModuleStatus
source · #[repr(C)]
pub enum ModuleStatus {
Uninstantiated,
Instantiating,
Instantiated,
Evaluating,
Evaluated,
Errored,
}
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<ModuleStatus> for ModuleStatus
impl PartialEq<ModuleStatus> for ModuleStatus
source§fn eq(&self, other: &ModuleStatus) -> bool
fn eq(&self, other: &ModuleStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.