pub struct AsyncSpawnBuilderWithAddress<'a, A: AsyncActor, F: IntoFuture<Output = A>> { /* private fields */ }Expand description
After having configured the builder with an address
it is possible to create and run the actor on a new thread with Self::spawn().
Not yet implemented for async actors: run_and_block() on the current thread.
File an issue if you need it.
Implementations§
Source§impl<A: AsyncActor, F: IntoFuture<Output = A> + Send + 'static> AsyncSpawnBuilderWithAddress<'_, A, F>
impl<A: AsyncActor, F: IntoFuture<Output = A> + Send + 'static> AsyncSpawnBuilderWithAddress<'_, A, F>
Auto Trait Implementations§
impl<'a, A, F> Freeze for AsyncSpawnBuilderWithAddress<'a, A, F>where
F: Freeze,
impl<'a, A, F> !RefUnwindSafe for AsyncSpawnBuilderWithAddress<'a, A, F>
impl<'a, A, F> Send for AsyncSpawnBuilderWithAddress<'a, A, F>where
F: Send,
impl<'a, A, F> Sync for AsyncSpawnBuilderWithAddress<'a, A, F>where
F: Sync,
impl<'a, A, F> Unpin for AsyncSpawnBuilderWithAddress<'a, A, F>where
F: Unpin,
impl<'a, A, F> !UnwindSafe for AsyncSpawnBuilderWithAddress<'a, A, F>
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