Struct notify_future::NotifyFuture
source · pub struct NotifyFuture<RESULT>(_);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> Clone for NotifyFuture<RESULT>
impl<RESULT: Clone> Clone for NotifyFuture<RESULT>
source§impl<RESULT> Future for NotifyFuture<RESULT>
impl<RESULT> Future for NotifyFuture<RESULT>
Auto Trait Implementations§
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<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