Enum v8::PromiseRejectEvent
source · #[repr(C)]
pub enum PromiseRejectEvent {
PromiseRejectWithNoHandler,
PromiseHandlerAddedAfterReject,
PromiseRejectAfterResolved,
PromiseResolveAfterResolved,
}
Variants§
PromiseRejectWithNoHandler
PromiseHandlerAddedAfterReject
PromiseRejectAfterResolved
PromiseResolveAfterResolved
Trait Implementations§
source§impl Clone for PromiseRejectEvent
impl Clone for PromiseRejectEvent
source§fn clone(&self) -> PromiseRejectEvent
fn clone(&self) -> PromiseRejectEvent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PromiseRejectEvent
impl Debug for PromiseRejectEvent
source§impl PartialEq<PromiseRejectEvent> for PromiseRejectEvent
impl PartialEq<PromiseRejectEvent> for PromiseRejectEvent
source§fn eq(&self, other: &PromiseRejectEvent) -> bool
fn eq(&self, other: &PromiseRejectEvent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.