pub struct SimpleResultReceiver<S: SimpleSpawner<R>, R: Debug> { /* private fields */ }Expand description
Uses a future to receive the result.
Implementations§
Trait Implementations§
Source§impl<S: Debug + SimpleSpawner<R>, R: Debug + Debug> Debug for SimpleResultReceiver<S, R>
impl<S: Debug + SimpleSpawner<R>, R: Debug + Debug> Debug for SimpleResultReceiver<S, R>
Source§impl<S, R> ResultReceiver for SimpleResultReceiver<S, R>where
S: SimpleSpawner<R>,
<S as SimpleSpawner<R>>::Future: Unpin,
R: Debug + Send + Sync + 'static,
impl<S, R> ResultReceiver for SimpleResultReceiver<S, R>where
S: SimpleSpawner<R>,
<S as SimpleSpawner<R>>::Future: Unpin,
R: Debug + Send + Sync + 'static,
Auto Trait Implementations§
impl<S, R> Freeze for SimpleResultReceiver<S, R>
impl<S, R> RefUnwindSafe for SimpleResultReceiver<S, R>where
<S as SimpleSpawner<R>>::Future: RefUnwindSafe,
R: RefUnwindSafe,
<S as SimpleSpawner<R>>::Error: RefUnwindSafe,
impl<S, R> Send for SimpleResultReceiver<S, R>where
R: Send,
impl<S, R> Sync for SimpleResultReceiver<S, R>
impl<S, R> Unpin for SimpleResultReceiver<S, R>
impl<S, R> UnwindSafe for SimpleResultReceiver<S, R>where
<S as SimpleSpawner<R>>::Future: UnwindSafe,
R: UnwindSafe,
<S as SimpleSpawner<R>>::Error: 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