pub struct JoinHandle<T: Unpin>(/* private fields */);
Implementations§
Source§impl<T: Unpin> JoinHandle<T>
impl<T: Unpin> JoinHandle<T>
pub fn waker(&self) -> LocalWaker
pub fn is_ready(&self) -> bool
pub fn is_completed(&self) -> bool
pub fn poll_rc_nocx(&self) -> Poll<T>
Trait Implementations§
Source§impl<T: Unpin> Future for JoinHandle<T>
impl<T: Unpin> Future for JoinHandle<T>
Auto Trait Implementations§
impl<T> Freeze for JoinHandle<T>
impl<T> !RefUnwindSafe for JoinHandle<T>
impl<T> !Send for JoinHandle<T>
impl<T> !Sync for JoinHandle<T>
impl<T> Unpin for JoinHandle<T>
impl<T> !UnwindSafe for JoinHandle<T>
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
Source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
Source§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
Source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more