Struct notify_future::NotifyFutureState
source · pub struct NotifyFutureState<RESULT> { /* private fields */ }Implementations§
source§impl<RESULT> NotifyFutureState<RESULT>
impl<RESULT> NotifyFutureState<RESULT>
pub fn new() -> Arc<Mutex<NotifyFutureState<RESULT>>>
pub fn set_complete( state: &Arc<Mutex<NotifyFutureState<RESULT>>>, result: RESULT )
Auto Trait Implementations§
impl<RESULT> RefUnwindSafe for NotifyFutureState<RESULT>where RESULT: RefUnwindSafe,
impl<RESULT> Send for NotifyFutureState<RESULT>where RESULT: Send,
impl<RESULT> Sync for NotifyFutureState<RESULT>where RESULT: Sync,
impl<RESULT> Unpin for NotifyFutureState<RESULT>where RESULT: Unpin,
impl<RESULT> UnwindSafe for NotifyFutureState<RESULT>where RESULT: UnwindSafe,
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