pub enum PromiseState {
Pending,
Fulfilled,
Rejected,
}
Variants§
Trait Implementations§
Source§impl Clone for PromiseState
impl Clone for PromiseState
Source§fn clone(&self) -> PromiseState
fn clone(&self) -> PromiseState
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 PromiseState
impl Debug for PromiseState
impl Copy 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