Struct actix::SpawnHandle
source · 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
source§fn eq(&self, other: &SpawnHandle) -> bool
fn eq(&self, other: &SpawnHandle) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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