pub struct NotifyFuture<RESULT> { /* private fields */ }
๐Deprecated since 0.2.1: Please use Notify instead
Implementationsยง
Sourceยงimpl<RESULT> NotifyFuture<RESULT>
impl<RESULT> NotifyFuture<RESULT>
pub fn new() -> Self
pub fn set_complete(&self, result: RESULT)
Trait Implementationsยง
Sourceยงimpl<RESULT> Clone for NotifyFuture<RESULT>
impl<RESULT> Clone for NotifyFuture<RESULT>
Sourceยงimpl<RESULT> Future for NotifyFuture<RESULT>
impl<RESULT> Future for NotifyFuture<RESULT>
Auto Trait Implementationsยง
impl<RESULT> Freeze for NotifyFuture<RESULT>
impl<RESULT> RefUnwindSafe for NotifyFuture<RESULT>
impl<RESULT> Send for NotifyFuture<RESULT>where
RESULT: Send,
impl<RESULT> Sync for NotifyFuture<RESULT>where
RESULT: Send,
impl<RESULT> Unpin for NotifyFuture<RESULT>
impl<RESULT> UnwindSafe for NotifyFuture<RESULT>
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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