pub struct ManualFuture { /* private fields */ }Implementations§
Source§impl ManualFuture
impl ManualFuture
pub fn new() -> ManualFuture
pub fn wait_until_filled(&self, timeout: Duration) -> Option<StoredTerm>
pub fn fill(&self, value: StoredTerm)
Auto Trait Implementations§
impl !Freeze for ManualFuture
impl RefUnwindSafe for ManualFuture
impl Send for ManualFuture
impl Sync for ManualFuture
impl Unpin for ManualFuture
impl UnsafeUnpin for ManualFuture
impl UnwindSafe for ManualFuture
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