pub enum PromiseResult<T> {
Resolved(T),
Rejected(T),
}
Variants§
Trait Implementations§
Source§impl<T: Debug> Debug for PromiseResult<T>
impl<T: Debug> Debug for PromiseResult<T>
impl<T: Send> Send for PromiseResult<T>
impl<T: Sync> Sync for PromiseResult<T>
Auto Trait Implementations§
impl<T> Freeze for PromiseResult<T>where
T: Freeze,
impl<T> RefUnwindSafe for PromiseResult<T>where
T: RefUnwindSafe,
impl<T> Unpin for PromiseResult<T>where
T: Unpin,
impl<T> UnwindSafe for PromiseResult<T>where
T: UnwindSafe,
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