Struct acto::TokioJoinHandle
source · pub struct TokioJoinHandle<O>(/* private fields */);
Available on crate feature
tokio
only.Trait Implementations§
source§impl<O: Send + 'static> ActoHandle for TokioJoinHandle<O>
impl<O: Send + 'static> ActoHandle for TokioJoinHandle<O>
type Output = O
source§fn is_finished(&self) -> bool
fn is_finished(&self) -> bool
Check whether the actor’s task is no longer running Read more
source§fn poll(
self: Pin<&mut Self>,
cx: &mut Context<'_>
) -> Poll<Result<O, PanicOrAbort>>
fn poll( self: Pin<&mut Self>, cx: &mut Context<'_> ) -> Poll<Result<O, PanicOrAbort>>
Poll this handle for whether the actor is now terminated. Read more
source§fn map<O, F>(self, transform: F) -> MappedActoHandle<Self, F, O>where
Self: Sized,
fn map<O, F>(self, transform: F) -> MappedActoHandle<Self, F, O>where
Self: Sized,
Transform the output value of this handle, e.g. before calling
ActoCell::supervise
.Auto Trait Implementations§
impl<O> !RefUnwindSafe for TokioJoinHandle<O>
impl<O> Send for TokioJoinHandle<O>where
O: Send,
impl<O> Sync for TokioJoinHandle<O>where
O: Send,
impl<O> Unpin for TokioJoinHandle<O>
impl<O> !UnwindSafe for TokioJoinHandle<O>
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