#[repr(C)]pub enum PromiseState {
Pending = 0,
Fulfilled = 1,
Rejected = 2,
}
Variants§
Trait Implementations§
Source§impl Debug for PromiseState
impl Debug for PromiseState
Source§impl PartialEq for PromiseState
impl PartialEq for PromiseState
impl Eq for PromiseState
impl StructuralPartialEq for PromiseState
Auto Trait Implementations§
impl Freeze for PromiseState
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