pub struct SpawnHandle(/* private fields */);Expand description
A handle to a spawned future.
Can be used to cancel the future.
Implementations§
Source§impl SpawnHandle
 
impl SpawnHandle
Sourcepub fn next(self) -> SpawnHandle
 
pub fn next(self) -> SpawnHandle
Gets the next handle.
Trait Implementations§
Source§impl Clone for SpawnHandle
 
impl Clone for SpawnHandle
Source§fn clone(&self) -> SpawnHandle
 
fn clone(&self) -> SpawnHandle
Returns a copy 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 moreSource§impl Debug for SpawnHandle
 
impl Debug for SpawnHandle
Source§impl Default for SpawnHandle
 
impl Default for SpawnHandle
Source§fn default() -> SpawnHandle
 
fn default() -> SpawnHandle
Returns the “default value” for a type. Read more
Source§impl Hash for SpawnHandle
 
impl Hash for SpawnHandle
Source§impl PartialEq for SpawnHandle
 
impl PartialEq for SpawnHandle
impl Copy for SpawnHandle
impl Eq for SpawnHandle
impl StructuralPartialEq for SpawnHandle
Auto Trait Implementations§
impl Freeze for SpawnHandle
impl RefUnwindSafe for SpawnHandle
impl Send for SpawnHandle
impl Sync for SpawnHandle
impl Unpin for SpawnHandle
impl UnwindSafe for SpawnHandle
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