pub struct ActorJoinFuture<'a, A: Actor> { /* private fields */ }Expand description
Future returned by ActorHandle::join.
This future aborts the actor if dropped before completion, ensuring correct cleanup in races and timeouts.
Trait Implementations§
Source§impl<A: Actor> Drop for ActorJoinFuture<'_, A>
impl<A: Actor> Drop for ActorJoinFuture<'_, A>
Source§impl<A: Actor> Future for ActorJoinFuture<'_, A>
impl<A: Actor> Future for ActorJoinFuture<'_, A>
Auto Trait Implementations§
impl<'a, A> !RefUnwindSafe for ActorJoinFuture<'a, A>
impl<'a, A> !UnwindSafe for ActorJoinFuture<'a, A>
impl<'a, A> Freeze for ActorJoinFuture<'a, A>
impl<'a, A> Send for ActorJoinFuture<'a, A>
impl<'a, A> Sync for ActorJoinFuture<'a, A>
impl<'a, A> Unpin for ActorJoinFuture<'a, A>
impl<'a, A> UnsafeUnpin for ActorJoinFuture<'a, A>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<F> FutureExt for F
impl<F> FutureExt for F
Source§fn catch_unwind(self) -> CatchUnwind<Self> ⓘwhere
Self: Sized + UnwindSafe,
fn catch_unwind(self) -> CatchUnwind<Self> ⓘwhere
Self: Sized + UnwindSafe,
Catches panics while polling the future. Read more
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, _span: NoopSpan) -> Self
fn instrument(self, _span: NoopSpan) -> Self
Instruments this future with a span (no-op when disabled).
Source§fn in_current_span(self) -> Self
fn in_current_span(self) -> Self
Instruments this future with the current span (no-op when disabled).
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<F> IntoFuture for Fwhere
F: Future,
impl<F> IntoFuture for Fwhere
F: Future,
Source§type IntoFuture = F
type IntoFuture = F
Which kind of future are we turning this into?
Source§fn into_future(self) -> <F as IntoFuture>::IntoFuture
fn into_future(self) -> <F as IntoFuture>::IntoFuture
Creates a future from a value. Read more