Enum v8::PromiseState
source · #[repr(C)]
pub enum PromiseState {
Pending,
Fulfilled,
Rejected,
}
Variants§
Trait Implementations§
source§impl Debug for PromiseState
impl Debug for PromiseState
source§impl PartialEq<PromiseState> for PromiseState
impl PartialEq<PromiseState> for PromiseState
source§fn eq(&self, other: &PromiseState) -> bool
fn eq(&self, other: &PromiseState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.