Struct i_slint_core::future::JoinHandle
source · pub struct JoinHandle<T>(/* private fields */);
Expand description
The return value of the spawn_local()
function
Can be used to abort the future, or to get the value from a different thread with .await
This trait implements future. Polling it after it finished or aborted may result in a panic.
Implementations§
source§impl<T> JoinHandle<T>
impl<T> JoinHandle<T>
Trait Implementations§
source§impl<T> Future for JoinHandle<T>
impl<T> Future for JoinHandle<T>
impl<T: Send> Send for JoinHandle<T>
Auto Trait Implementations§
impl<T> Freeze for JoinHandle<T>
impl<T> !RefUnwindSafe 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,
§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