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 ==
.impl Eq for PromiseState
impl StructuralEq for PromiseState
impl StructuralPartialEq for PromiseState
Auto Trait Implementations§
impl RefUnwindSafe for PromiseState
impl Send for PromiseState
impl Sync for PromiseState
impl Unpin for PromiseState
impl UnwindSafe for PromiseState
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more