Struct browser_window::DelegateFutureFuture [−][src]
pub struct DelegateFutureFuture<'a, R> where
R: Send, { /* fields omitted */ }
Expand description
This future runs a future on the GUI thread and returns its output.
Trait Implementations
Safety
DelegateFutureFuture
by itself is not send.
This is because of ApplicationHandle
.
However, because the closure only executes on the GUI thread,
and because this handle that is provided to the closure is something that will only be sent with the closure to the GUI thread,
this should be fine.
Auto Trait Implementations
impl<'a, R> !RefUnwindSafe for DelegateFutureFuture<'a, R>
impl<'a, R> !Sync for DelegateFutureFuture<'a, R>
impl<'a, R> !UnwindSafe for DelegateFutureFuture<'a, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (
into_future
)The output that the future will produce on completion.
type Future = F
type Future = F
🔬 This is a nightly-only experimental API. (
into_future
)Which kind of future are we turning this into?
🔬 This is a nightly-only experimental API. (
into_future
)Creates a future from a value.