pub struct ManualFutureCompleter<T> { /* private fields */ }Expand description
Used to complete a ManualFuture so it can be resolved to a given value.
Dropping a ManualFutureCompleter will cause the associated ManualFuture
to never complete.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for ManualFutureCompleter<T>
impl<T> !RefUnwindSafe for ManualFutureCompleter<T>
impl<T> Send for ManualFutureCompleter<T>where
T: Send,
impl<T> Sync for ManualFutureCompleter<T>where
T: Send,
impl<T> Unpin for ManualFutureCompleter<T>
impl<T> !UnwindSafe for ManualFutureCompleter<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