Enum v8::PromiseState
source · [−]#[repr(C)]
pub enum PromiseState {
Pending,
Fulfilled,
Rejected,
}
Variants
Pending
Fulfilled
Rejected
Trait Implementations
sourceimpl Debug for PromiseState
impl Debug for PromiseState
sourceimpl PartialEq<PromiseState> for PromiseState
impl PartialEq<PromiseState> for PromiseState
sourcefn eq(&self, other: &PromiseState) -> bool
fn eq(&self, other: &PromiseState) -> bool
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
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