Enum v8::PromiseRejectEvent
source · [−]#[repr(C)]
pub enum PromiseRejectEvent {
PromiseRejectWithNoHandler,
PromiseHandlerAddedAfterReject,
PromiseRejectAfterResolved,
PromiseResolveAfterResolved,
}
Variants
PromiseRejectWithNoHandler
PromiseHandlerAddedAfterReject
PromiseRejectAfterResolved
PromiseResolveAfterResolved
Trait Implementations
sourceimpl Clone for PromiseRejectEvent
impl Clone for PromiseRejectEvent
sourcefn clone(&self) -> PromiseRejectEvent
fn clone(&self) -> PromiseRejectEvent
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for PromiseRejectEvent
impl Debug for PromiseRejectEvent
impl Copy for PromiseRejectEvent
impl StructuralPartialEq for PromiseRejectEvent
Auto Trait Implementations
impl RefUnwindSafe for PromiseRejectEvent
impl Send for PromiseRejectEvent
impl Sync for PromiseRejectEvent
impl Unpin for PromiseRejectEvent
impl UnwindSafe for PromiseRejectEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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