[][src]Struct nostd_async::JoinHandle

pub struct JoinHandle<'t, T> { /* fields omitted */ }

A joinable handle for a task.

The task is aborted if the handle is dropped.

Implementations

impl<'t, T> JoinHandle<'t, T>[src]

pub fn join(self) -> T[src]

Drive the runtime until the handle's task completes.

Returns the value returned by the future

Trait Implementations

impl<'t, T> Drop for JoinHandle<'t, T>[src]

Auto Trait Implementations

impl<'t, T> !Send for JoinHandle<'t, T>

impl<'t, T> !Sync for JoinHandle<'t, T>

impl<'t, T> Unpin for JoinHandle<'t, T>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.