pub struct DoActor<A: Actor> {
pub actor: A,
pub context: A::Context,
pub failures: Failures,
}Fields§
§actor: A§context: A::Context§failures: FailuresImplementations§
Trait Implementations§
Source§impl<A: Actor> InteractiveRuntime for DoActor<A>
impl<A: Actor> InteractiveRuntime for DoActor<A>
Source§impl<A: Actor> InteractiveTask<A> for DoActor<A>
impl<A: Actor> InteractiveTask<A> for DoActor<A>
Source§impl<A: Actor> Runtime for DoActor<A>
impl<A: Actor> Runtime for DoActor<A>
Source§fn get_interruptor(&mut self) -> Interruptor
fn get_interruptor(&mut self) -> Interruptor
Used by a lifetime tracker of the supervisor to stop it.
It’s the separate type that wraps address made by a runtime.
fn routine<'life0, 'async_trait>(
&'life0 mut self,
) -> Pin<Box<dyn Future<Output = ()> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl<A> Freeze for DoActor<A>
impl<A> RefUnwindSafe for DoActor<A>
impl<A> Send for DoActor<A>
impl<A> Sync for DoActor<A>
impl<A> Unpin for DoActor<A>
impl<A> UnwindSafe for DoActor<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