Struct deno_unsync::JoinHandle
source · #[repr(transparent)]pub struct JoinHandle<R> { /* private fields */ }
Expand description
Equivalent to tokio::task::JoinHandle
.
Implementations§
source§impl<R> JoinHandle<R>
impl<R> JoinHandle<R>
sourcepub fn abort(&self)
pub fn abort(&self)
Equivalent to tokio::task::JoinHandle::abort
.
Trait Implementations§
source§impl<R> Future for JoinHandle<R>
impl<R> Future for JoinHandle<R>
Auto Trait Implementations§
impl<R> RefUnwindSafe for JoinHandle<R>where R: RefUnwindSafe,
impl<R> Send for JoinHandle<R>where R: Send,
impl<R> Sync for JoinHandle<R>where R: Sync,
impl<R> Unpin for JoinHandle<R>where R: Unpin,
impl<R> UnwindSafe for JoinHandle<R>where R: 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
source§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere F: Future,
§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