Enum cros_async::SelectResult
source · pub enum SelectResult<F: Future> {
Pending(F),
Finished(F::Output),
}
Variants§
Auto Trait Implementations§
impl<F> RefUnwindSafe for SelectResult<F>where F: RefUnwindSafe, <F as Future>::Output: RefUnwindSafe,
impl<F> Send for SelectResult<F>where F: Send, <F as Future>::Output: Send,
impl<F> Sync for SelectResult<F>where F: Sync, <F as Future>::Output: Sync,
impl<F> Unpin for SelectResult<F>where F: Unpin, <F as Future>::Output: Unpin,
impl<F> UnwindSafe for SelectResult<F>where F: UnwindSafe, <F as Future>::Output: 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