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
Uninstantiated
Instantiating
Instantiated
Evaluating
Evaluated
Errored
Trait Implementations
sourceimpl Debug for ModuleStatus
impl Debug for ModuleStatus
sourceimpl PartialEq<ModuleStatus> for ModuleStatus
impl PartialEq<ModuleStatus> for ModuleStatus
sourcefn eq(&self, other: &ModuleStatus) -> bool
fn eq(&self, other: &ModuleStatus) -> bool
impl StructuralPartialEq for ModuleStatus
Auto Trait Implementations
impl RefUnwindSafe for ModuleStatus
impl Send for ModuleStatus
impl Sync for ModuleStatus
impl Unpin for ModuleStatus
impl UnwindSafe for ModuleStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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