pub struct NotifyFuture<RESULT> { /* private fields */ }
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