pub struct CompletionFuture<T> { /* private fields */ }Expand description
A future that resolves when an Apple completion handler fires.
Created by [completion_channel]. The sender half is passed into
the Objective-C block; the future half is returned to the caller.
Implementations§
Trait Implementations§
Source§impl<T: Send> Future for CompletionFuture<T>
impl<T: Send> Future for CompletionFuture<T>
impl<T: Send> Send for CompletionFuture<T>
Auto Trait Implementations§
impl<T> Freeze for CompletionFuture<T>
impl<T> RefUnwindSafe for CompletionFuture<T>
impl<T> Sync for CompletionFuture<T>where
T: Send,
impl<T> Unpin for CompletionFuture<T>
impl<T> UnsafeUnpin for CompletionFuture<T>
impl<T> UnwindSafe for CompletionFuture<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