pub struct WorkFuture { /* private fields */ }Implementations§
Source§impl WorkFuture
impl WorkFuture
pub fn is_complete(&self) -> bool
pub fn wait(self)
pub fn wait_timeout(self, timeout: Duration) -> bool
pub fn remaining_count(&self) -> usize
Trait Implementations§
Source§impl Clone for WorkFuture
impl Clone for WorkFuture
Source§fn clone(&self) -> WorkFuture
fn clone(&self) -> WorkFuture
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for WorkFuture
impl RefUnwindSafe for WorkFuture
impl Send for WorkFuture
impl Sync for WorkFuture
impl Unpin for WorkFuture
impl UnwindSafe for WorkFuture
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